Difference between revisions of "GetClass"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WereWolf
(New page: A command for Oblivion Script Extender Returns the class of the NPC. '''Syntax:''' (class:ref) reference.GetClass ==See Also== *[[GetClassAttribu...)
 
imported>WereWolf
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]
'''Syntax:'''
(class:ref) reference.GetClass


Returns the class of the NPC.
Returns the class of the NPC.


'''Syntax:'''
'''Example:'''
  (class:ref) reference.GetClass
  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==
Line 10: Line 15:
*[[GetClassSkill]]
*[[GetClassSkill]]
*[[GetClassSpecialization]]
*[[GetClassSpecialization]]
*[[GetClassSkill]]
*[[IsClassSkill]]
*[[IsClassSkill]]
*[[IsClassAttribute]]
*[[IsClassAttribute]]
Line 16: Line 20:
[[Category: Functions]]
[[Category: Functions]]
[[Category: Functions (OBSE)]]
[[Category: Functions (OBSE)]]
[[Category: Actor Value Functions|OBSE]]
[[Category: Actor Value Functions]]
[[Category: Actor Value Functions (OBSE)]]
[[Category: Statistics Functions]]
[[Category: Statistics Functions (OBSE)]]

Latest revision as of 13:17, 14 September 2007

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]