Difference between revisions of "Command an NPC/Creature to Attack"
Command an NPC/Creature to Attack (edit)
Revision as of 07:10, 24 December 2009
, 07:10, 24 December 2009→Create a Magic Effect script
imported>Phinix |
imported>Phinix |
||
Line 31: | Line 31: | ||
begin ScriptEffectUpdate | begin ScriptEffectUpdate | ||
if | if globalvar1 == 1 | ||
SetAV Aggression 50 | SetAV Aggression 50 | ||
elseif | elseif globalvar1 == 2 | ||
SetAV Aggression 10 | SetAV Aggression 10 | ||
endif | endif | ||
Line 39: | Line 39: | ||
begin ScriptEffectFinish | begin ScriptEffectFinish | ||
end | end | ||