Difference between revisions of "Command an NPC/Creature to Attack"

imported>Phinix
imported>Phinix
Line 31: Line 31:
   
   
  begin ScriptEffectUpdate
  begin ScriptEffectUpdate
  if phiAhostile1 == 1
  if globalvar1 == 1
  SetAV Aggression 50
  SetAV Aggression 50
  elseif phiAhostile1 == 2
  elseif globalvar1 == 2
  SetAV Aggression 10
  SetAV Aggression 10
  endif
  endif
Line 39: Line 39:
   
   
  begin ScriptEffectFinish
  begin ScriptEffectFinish
    SetAV Aggression 10
  end
  end


Anonymous user