Difference between revisions of "GetClassAttribute"
Jump to navigation
Jump to search
no edit summary
imported>WereWolf (Fixed syntax and notes) |
imported>WereWolf |
||
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:''' | |||
(attribute:short) ''reference''.GetClassAttribute whichAttribute:short[0..1] ''class:ref'' | |||
Returns the Nth attribute of the class. | Returns the Nth attribute of the class. | ||
'''Example:''' | '''Example:''' | ||
short FirstAttibute | short FirstAttibute | ||
Line 11: | Line 12: | ||
set SecondAttibute to player.GetClassAttibute 1 | set SecondAttibute to player.GetClassAttibute 1 | ||
Gets the 1st and 2nd 'Primary Attributes' of player's class. | Gets the 1st and 2nd 'Primary Attributes' of player's class. | ||
==Notes== | ==Notes== |