TriggerPlayerSkillUse

Revision as of 10:26, 23 March 2011 by imported>Low Post
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(nuSkillExperience:float) TriggerPlayerSkillUse skill:actorValueCode whichAction:short howManyTimes:float 
(nuSkillExperience:float) TriggerPlayerSkillUseC skill:short whichAction:short howManyTimes:float


Records or deletes some additional uses of one of the skill actions. Increments/Decrements the skill level if necessary.

Notes

If howManyTimes is positive, calls the same function as IncrementPlayerSkillUse. Therfore, AttributeBonus is handled correctly at SkillUp.

If howManyTimes is negative, calls the same function as ModPlayerSkillExp. Therfore, AttributeBonus has to be adjusted manually at SkillDown.

See Also