Difference between revisions of "GetRaceSkillBonus"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WereWolf
(New page: A command for Oblivion Script Extender Returns the bonus for the specified skill for the race. '''Syntax:''' (value:short) reference.GetRaceSkillB...)
 
imported>WereWolf
 
(2 intermediate revisions by the same user not shown)
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==
Line 14: Line 14:
*[[GetRaceSkillBonusC]]
*[[GetRaceSkillBonusC]]
*[[IsRaceBonusSkill]]
*[[IsRaceBonusSkill]]
*[[IsRaceBonusSkillC]]
*[[GetNthRaceBonusSkill]]


[[Category:Functions]]
[[Category:Functions]]

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]