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

imported>Phinix
imported>Phinix
Line 28: Line 28:
   
   
  begin ScriptEffectStart
  begin ScriptEffectStart
    SetAV Aggression 50
  end
  end
   
   
  begin ScriptEffectUpdate
  begin ScriptEffectUpdate
    if globalvar1 == 2
if phiAhostile1 == 1
        SetAV Aggression 10
SetAV Aggression 50
        StopCombatAlarmOnActor
elseif phiAhostile1 == 2
    endif
SetAV Aggression 10
endif
  end
  end
   
   
Anonymous user