Difference between revisions of "GetRaceSkillBonus"

From the Oblivion ConstructionSet Wiki
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]]
Returns the bonus for the specified skill for the race.


'''Syntax:'''
'''Syntax:'''
  (value:short) reference.GetRaceSkillBonus skillActorValue:chars raceFormID:ref
  (value:short) reference.GetRaceSkillBonus skillActorValue:chars raceFormID:ref
Returns the bonus for the specified skill for the race.


==Notes==
==Notes==

Latest revision as of 11:59, 14 September 2007

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]