GetRaceSkillBonus

From the Oblivion ConstructionSet Wiki
Revision as of 11:59, 14 September 2007 by imported>WereWolf
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A command for Oblivion Script Extender

Syntax:

(value:short) reference.GetRaceSkillBonus skillActorValue:chars raceFormID:ref

Returns the bonus for the specified skill for the race.

Notes

  • If called on a reference the function will determine the race of the reference.
  • Returns 0 if there is no bonus for that skill.
  • The C version specifies the specific skill by number rather than by name. GetRaceSkillBonusC

See Also