Difference between revisions of "GetClassSkill"

No change in size ,  10:34, 21 December 2007
m
no edit summary
imported>WereWolf
imported>Geppanda
m
 
Line 8: Line 8:
'''Example:'''
'''Example:'''
  short myfirstskill
  short myfirstskill
  short myfirthskill
  short myfifthskill
  set myfirstskill to player.GetClassSkill 0
  set myfirstskill to player.GetClassSkill 0
  set myfirthskill to player.GetClassSkill 4
  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 (Strenght).
*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.
Anonymous user