Difference between revisions of "GetClassSpecialization"
Jump to navigation
Jump to search
imported>WereWolf (Fixed categories) |
imported>WereWolf (Added example) |
||
Line 5: | Line 5: | ||
'''Syntax:''' | '''Syntax:''' | ||
(specialization:short) ''reference.''GetClassSpecialization ''class:ref'' | (specialization:short) ''reference.''GetClassSpecialization ''class:ref'' | ||
'''Example''' | |||
short MySpecialization | |||
set MySpecialization to player.GetClassSpecialization | |||
Gets player's class specialization. | |||
==Notes== | ==Notes== |
Revision as of 16:25, 9 September 2007
A command for Oblivion Script Extender
Returns the class specialization.
Syntax:
(specialization:short) reference.GetClassSpecialization class:ref
Example
short MySpecialization set MySpecialization to player.GetClassSpecialization
Gets player's class specialization.
Notes
- 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