GetRaceAttribute

From the Oblivion ConstructionSet Wiki
Revision as of 16:11, 12 September 2007 by imported>WereWolf (New page: A command for Oblivion Script Extender Returns the specified base attribute value. '''Syntax:''' (value:short) reference.GetRaceAttribute attribut...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A command for Oblivion Script Extender

Returns the specified base attribute value.

Syntax:

(value:short) reference.GetRaceAttribute attributeActorValue:chars raceFormID:ref isFemale:bool

Notes

  • 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) GetRaceAttibuteC

See Also