Difference between revisions of "GetCreatureTalentRandom"
|Line 8:||Line 8:|
Revision as of 01:25, 26 August 2012
Retrieves a random talent from a group of talents that a creature possesses.
The creature who potentially possesses a talent within the specified talent category. (Default: OBJECT_SELF)
Returns a random talent of oCreature, within nCategory.
It is possible for nCreature not to have any talent within the specified nCategory. In this case this function will return an invalid talent, akin to OBJECT_INVALID, but you must use the GetIsTalentValid() to test this.
author: Tom Cassiotis, editor: Charles Feduke, additional contributor(s): Jim Allen