Difference between revisions of "GetClass"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WereWolf
(Fixed categories)
imported>WereWolf
(Added example)
Line 5: Line 5:
'''Syntax:'''
'''Syntax:'''
  (class:ref) reference.GetClass
  (class:ref) reference.GetClass
'''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==

Revision as of 15:48, 9 September 2007

A command for Oblivion Script Extender

Returns the class of the NPC.

Syntax:

(class:ref) reference.GetClass

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