TriggerPlayerSkillUse

From the Oblivion ConstructionSet Wiki
(Redirected from TriggerPlayerSkillUseC)
Jump to navigation Jump to search
< [[::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