GetClass

From the Oblivion ConstructionSet Wiki
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]