Difference between revisions of "GetClass"
Jump to navigation
Jump to search
imported>WereWolf (Added example) |
imported>WereWolf |
||
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:''' | '''Example:''' | ||
ref MyClass | ref MyClass |
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.