GetClass

From the Oblivion ConstructionSet Wiki
Revision as of 13:17, 14 September 2007 by imported>WereWolf
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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]