Difference between revisions of "GetClass"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WereWolf
(Fixed categories)
imported>WereWolf
 
(2 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.


'''Syntax:'''
'''Example:'''
  (class:ref) reference.GetClass
  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]]
*[[GetClassSkill]]
*[[IsClassSkill]]
*[[IsClassSkill]]
*[[IsClassAttribute]]
*[[IsClassAttribute]]

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.

See Also[edit | edit source]