Difference between revisions of "GetClassSpecialization"
Jump to navigation
Jump to search
imported>WereWolf (Fixed categories) |
imported>WereWolf |
||
(2 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:''' | |||
(specialization:short) ''reference.''GetClassSpecialization ''class:ref'' | |||
Returns the class specialization. | Returns the class specialization. | ||
''' | '''Example:''' | ||
short MySpecialization | |||
set MySpecialization to player.GetClassSpecialization | |||
Gets player's class specialization. | |||
==Notes== | ==Notes== |
Latest revision as of 13:15, 14 September 2007
A command for Oblivion Script Extender
Syntax:
(specialization:short) reference.GetClassSpecialization class:ref
Returns the class specialization.
Example:
short MySpecialization set MySpecialization to player.GetClassSpecialization
Gets player's class specialization.
Notes[edit | edit source]
- If called on a reference it will attempt to find the class from that referenced NPC and use that.
- If a class FormID is passed, that takes precedence.
Class Specialization Codes: 0: Combat 1: Magic 2: Stealth