ShinobiAoshi
Member
- Joined
- Jul 21, 2010
- Messages
- 143
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!
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!