SetMagicEffectCounters
From The Elder Scrolls Construction Set Wiki
This article has been added to the Wiki by CSbot, an automated WikiBot. If you notice anything wrong with this page, please notify DragoonWraith, this bot's operator, by adding a comment to the end of User talk:DragoonWraith. If this article seems to be correct, then you can help the Wiki by removing this message, by editing this page and deleting the {{BotAddedPage}} template from the top of it. Thank you.
A function added by the Oblivion Script Extender.
Syntax:
(effectsApplied:bool) SetMagicEffectCounters counterEffects:Array magicEffect:Ref (effectsApplied:bool) SetMECounters counterEffects:Array magicEffect:Ref
(effectsApplied:bool) SetMagicEffectCountersC counterEffects:Array magicEffectCode:long (effectsApplied:bool) SetMECountersC
Accepts an Array of effect codes and assigns those effects as counter-effects for the specified magic effect, overriding any existing counter-effects. The user must guarantee that the passed array contains valid effect codes and nothing else. The function returns 1 if the new counter-effects were successfully applied, 0 otherwise.ALTALIAS.