GetClass

Revision as of 15:48, 9 September 2007 by imported>WereWolf (Added example)

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