Difference between revisions of "GetClassSkill"
m
no edit summary
imported>WereWolf |
imported>Geppanda m |
||
Line 8: | Line 8: | ||
'''Example:''' | '''Example:''' | ||
short myfirstskill | short myfirstskill | ||
short | short myfifthskill | ||
set myfirstskill to player.GetClassSkill 0 | set myfirstskill to player.GetClassSkill 0 | ||
set | set myfifthskill to player.GetClassSkill 4 | ||
Gets 1st and 5th skill of player's class. | Gets 1st and 5th skill of player's class. | ||
==Notes== | ==Notes== | ||
*The parameter "'''''whichSkill:short'''''" must be '''min: 0''' and '''max: 6'''. If you input a value greater than 6 this function will allways return 0 ( | *The parameter "'''''whichSkill:short'''''" must be '''min: 0''' and '''max: 6'''. If you input a value greater than 6 this function will allways return 0 (Strength). | ||
*If called on a reference it will attempt to find the class from that referenced NPC and use that. | *If called on a reference it will attempt to find the class from that referenced NPC and use that. | ||
*If a class FormID is passed, that takes precedence. | *If a class FormID is passed, that takes precedence. |