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