Difference between revisions of "TriggerPlayerSkillUse"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>CSbot
(Automated import of articles)
 
imported>Low Post
 
Line 1: Line 1:
{{BotAddedPage|CSbot|DragoonWraith}}
{{Function
{{Function
  | origin = OBSE
  | origin = OBSE
Line 34: Line 33:
   }}
   }}
}}
}}
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==
*[[GetPlayerSkillUse]]
*[[GetSkillUseIncrement]]
*[[SetSkillUseIncrement]]
*[[IncrementPlayerSkillUse]]
*[[ModPlayerSkillExp]]
*[[GetRequiredSkillExp]]


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

Latest revision as of 09:26, 23 March 2011

< [[::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