How to identify whether a character is in a particular Guild like Fighters or Mages?
Here's my code.
Lua Code:
And what it outputs It's based off of this text file. As far as I know, these appear to be the only public functions that provide skill line information. However, it does so in a generalized way and not in the way I need. Basically what I am looking for is a simple boolean against a Guild to see if it appears in the list of Skills (e.g. false returned if player isn't in the Fighters guild, or true returned if player is in the Mages guild, etc.). Any ideas? |
Code:
* GetSkillLineDynamicInfo(*[SkillType|#SkillType]* _skillType_, *luaindex* _skillLineIndex_) *bool* _active_ *bool* _discovered_ One of these should say true if you have it activated or discovered. Where discovered maybe also true if you have found a book of the mages guild but ar enot member of the mages guild? Not sure, you'd need to test this. Skilltype = SKILL_TYPE_GUILD skillLineIndex = The guild's index you want to check Lua Code:
|
Excellent. Thanks, Baertram. :)
|
All times are GMT -6. The time now is 12:03 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI