Difference between revisions of "SetNthEffectItemActorValue"
Fixed syntax, added example, link to GetNthEIAVC
imported>Haama (Created) |
imported>Haama (Fixed syntax, added example, link to GetNthEIAVC) |
||
Line 1: | Line 1: | ||
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]] | |||
'''Syntax:''' | |||
(nothing) SetNthEffectItemActorValue ActorValue:string magicItem:ref whichEffect:short | |||
(nothing) SetNthEIAV ActorValue:string magicItem:ref whichEffect:short | |||
Sets the actor value of the specified effect item. Unlike most OBSE functions, quotes are ''not'' needed for the ActorValue string. | |||
'''Example''' | |||
SetNthEffectItemActorValueC Strength DrinkAle 0 | |||
Changes the actor value of the first effect of Ale from Drain Intelligence to Drain Strength. | |||
==Notes== | ==Notes== | ||
Line 80: | Line 89: | ||
==See Also== | ==See Also== | ||
[[GetNthEffectItemActorValue]] | *[[GetNthEffectItemActorValue]] | ||
*[[SetNthEffectItemActorValueC]] | |||
[[Category:Functions]] | [[Category:Functions]] |