Difference between revisions of "GetClass"
Jump to navigation
Jump to search
imported>WereWolf (Fixed categories) |
imported>WereWolf |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]] | A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]] | ||
'''Syntax:''' | |||
(class:ref) reference.GetClass | |||
Returns the class of the NPC. | Returns the class of the NPC. | ||
''' | '''Example:''' | ||
ref MyClass | |||
set MyClass to player.GetClass | |||
Get the class of the player and store the ref_id in MyClass ref variable. | |||
==See Also== | ==See Also== | ||
Line 10: | Line 15: | ||
*[[GetClassSkill]] | *[[GetClassSkill]] | ||
*[[GetClassSpecialization]] | *[[GetClassSpecialization]] | ||
*[[IsClassSkill]] | *[[IsClassSkill]] | ||
*[[IsClassAttribute]] | *[[IsClassAttribute]] | ||
Line 18: | Line 22: | ||
[[Category: Actor Value Functions]] | [[Category: Actor Value Functions]] | ||
[[Category: Actor Value Functions (OBSE)]] | [[Category: Actor Value Functions (OBSE)]] | ||
[[Category: Statistics Functions]] | |||
[[Category: Statistics Functions (OBSE)]] |
Latest revision as of 13:17, 14 September 2007
A command for Oblivion Script Extender
Syntax:
(class:ref) reference.GetClass
Returns the class of the NPC.
Example:
ref MyClass set MyClass to player.GetClass
Get the class of the player and store the ref_id in MyClass ref variable.