Difference between revisions of "GetSkillUseIncrement"
Jump to navigation
Jump to search
imported>WereWolf (New page: A command for Oblivion Script Extender '''Syntax:''' (useRate:float) GetSkillUseIncrement skill:short ''whichAction:short'' Gets the experience po...) |
imported>DragoonWraith (not a record variable function) |
||
(One intermediate revision by one other user not shown) | |||
Line 2: | Line 2: | ||
'''Syntax:''' | '''Syntax:''' | ||
(useRate:float) GetSkillUseIncrement skill: | (useRate:float) GetSkillUseIncrement skill:name ''whichAction:short'' | ||
Gets the experience point increase for one use of a skill action. | Gets the experience point increase for one use of a skill action. | ||
'''Example''' | |||
float CreatePotionExpRate | |||
set CreatePotionExpRate to (GetSkillUseIncrement Alchemy 1) | |||
Sets ''CreatePotionExpRate'' to the amount of experience (towards the alchemy skill) the player would gain when they create a potion. | |||
float WortcraftExpRate | |||
set WortcraftExpRateto (GetSkillUseIncrement Alchemy 0) | |||
Sets ''WortcraftExpRate'' to the amount of experience (towards the alchemy skill) the player would gain when they eat an ingredient and gain an effect from it. | |||
==See Also== | ==See Also== | ||
Line 90: | Line 24: | ||
[[Category: Player Functions]] | [[Category: Player Functions]] | ||
[[Category: Player Functions (OBSE)]] | [[Category: Player Functions (OBSE)]] | ||
Latest revision as of 18:19, 21 March 2008
A command for Oblivion Script Extender
Syntax:
(useRate:float) GetSkillUseIncrement skill:name whichAction:short
Gets the experience point increase for one use of a skill action.
Example
float CreatePotionExpRate set CreatePotionExpRate to (GetSkillUseIncrement Alchemy 1)
Sets CreatePotionExpRate to the amount of experience (towards the alchemy skill) the player would gain when they create a potion.
float WortcraftExpRate set WortcraftExpRateto (GetSkillUseIncrement Alchemy 0)
Sets WortcraftExpRate to the amount of experience (towards the alchemy skill) the player would gain when they eat an ingredient and gain an effect from it.