This wiki is a copy of the original Oblivion CS wiki created and maintained by the UESP.net. See CSwiki:Copy Notice for more info.

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]