Difference between revisions of "SetSkillUseIncrement"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(Fixed syntax, added example)
imported>DragoonWraith
(not a record variable function)
Line 20: Line 20:
[[Category: Player Functions]]
[[Category: Player Functions]]
[[Category: Player Functions (OBSE)]]
[[Category: Player Functions (OBSE)]]
[[Category: Record Variable Functions]]
[[Category: Record Variable Functions (OBSE)]]

Revision as of 20:48, 21 March 2008

A command for Oblivion Script Extender

Syntax:

(nothing) SetSkillUseIncrement nuRate:float skill:name whichAction:short

Sets the experience point increase for one use of a skill action.

Example

SetSkillUseIncrement 1 Alchemy 1
SetSkillUseIncrement 0 Alchemy 0

Sets the experience gain (towards alchemy) when the player creates a potion to 1. The second line sets the wortcraft (when the player eats an ingredient and gains an effect) experience gain to 0.

See Also