GetRaceSkillBonus

From the Oblivion ConstructionSet Wiki
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[edit | edit source]

  • 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[edit | edit source]