Difference between revisions of "GetRaceAttribute"
Jump to navigation
Jump to search
imported>WereWolf |
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:''' | '''Syntax:''' | ||
(value:short) reference.GetRaceAttribute attributeActorValue:chars raceFormID:ref isFemale:bool | (value:short) reference.GetRaceAttribute attributeActorValue:chars raceFormID:ref isFemale:bool | ||
Returns the specified base attribute value. | |||
==Notes== | ==Notes== |
Latest revision as of 12:01, 14 September 2007
A command for Oblivion Script Extender
Syntax:
(value:short) reference.GetRaceAttribute attributeActorValue:chars raceFormID:ref isFemale:bool
Returns the specified base attribute value.
Notes[edit | edit source]
- If passes a raceFormID you must also pass whether you want the female value or not.
- If called directly on an reference the function will determine the race and sex of the reference and the raceFormID and isFemale are not needed.
- The C version of the function takes a number rather than the actorvalue name (0 instead of Strength) GetRaceAttributeC