• Visit Rebornbuddy
  • Get Companion Affection

    Discussion in 'Community Developer Forum' started by ShinobiAoshi, Jun 14, 2015.

    1. ShinobiAoshi

      ShinobiAoshi Member

      Joined:
      Jul 21, 2010
      Messages:
      143
      Likes Received:
      2
      Trophy Points:
      18
      Hey all,

      I'm wanting to write a simple plugin that raises your companion's affection to max using items you already have in your inventory.

      What I want to know is if there is an API call to get your current companion's affection (either as an int (so if it's 6,000/10,000, it would return 6000) or even rank would work (so 6,000/10,000 would return rank 3))?
      I've done some digging through the API and I see how to get your current companion and I see an enum for companion affection ranks, but I don't see a way to retrieve your companion's current affection.

      Any help would be appreciated, thanks!
       

    Share This Page