• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] Need help with a couple of triggers

Status
Not open for further replies.
Level 3
Joined
Mar 8, 2013
Messages
26
  • Advanced Experimental Attack
    • Events
      • Time - Every 0.09 seconds of game time
    • Conditions
    • Actions
      • Set ZWNO = (Units in (Playable map area) matching (((Owner of (Matching unit)) Equal to Player 12 (Brown)) and (((Owner of (Matching unit)) Equal to Player 12 (Brown)) and ((Current order of (Matching unit)) Equal to (Order(none))))))
      • Set HumanPG = (All allies of Player 11 (Dark Green))
      • Set RHU = (Units in (Playable map area) owned by (Random player from HumanPG))
      • Set ADE = (Position of (Random unit from RHU))
      • Unit Group - Pick every unit in ZWNO and do (Actions)
        • Loop - Actions
          • Unit - Order (Picked unit) to Attack-Move To ADE
      • Custom script: call RemoveLocation(udg_ADE)
      • Custom script: call DestroyForce(udg_HumanPG)
      • Custom script: call DestroyGroup(udg_RHU)
      • Custom script: call DestroyGroup(udg_ZWNO)
Will this trigger leak? It is supposed to cause units of player 12 brown to attack a random ally of player 11 dark green.
 
Status
Not open for further replies.
Top