• 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.

[Solved] How can I Unload wisps from Entagled Gold mine(GUI)

Status
Not open for further replies.
Level 16
Joined
May 2, 2011
Messages
1,351
:/
no other way? I am doing that in a unit group.

  • Naga
    • Events
      • Unit - A unit enters (Playable map area)
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Naga Sea Witch
    • Actions
      • -------- Change base --------
      • Set temp_g = (Units in (Playable map area) owned by (Owner of (Triggering unit)))
      • Unit Group - Pick every unit in temp_g and do (Actions)
        • Loop - Actions
          • If ((Unit-type of (Picked unit)) Equal to Entangled Gold Mine) then do (Unit - Order (Picked unit) to Stop) else do (Do nothing)
          • -------- is the next working? --------
          • If ((Unit-type of (Picked unit)) Equal to Entangled Gold Mine) then do (Custom script: call IssueImmediateOrderById(PickedUnit, 852049)) else do (Do nothing)
          • If ((Unit-type of (Picked unit)) Equal to Altar of Elders) then do (Unit - Replace (Picked unit) with a Altar of the Depths using The old unit's relative life and mana) else do (Do nothing)
          • If ((Unit-type of (Picked unit)) Equal to Ancient of Wonders) then do (Unit - Replace (Picked unit) with a Ocean Store using The old unit's relative life and mana) else do (Do nothing)
          • If ((Unit-type of (Picked unit)) Equal to Spawning Grounds) then do (Unit - Replace (Picked unit) with a Spawning Grounds using The old unit's relative life and mana) else do (Do nothing)
          • If ((Unit-type of (Picked unit)) Equal to Mur'gul Slave) then do (Unit - Replace (Picked unit) with a Mur'gul Slave using The old unit's relative life and mana) else do (Do nothing)
      • Custom script: call DestroyGroup (udg_temp_g)
 
Last edited:
Level 6
Joined
May 4, 2012
Messages
187
[offtopic]Wowowowowow can I have the map pwease? :> [/offtopic]

[ontopic] It is solved lol XD [/ontopic]
 
Status
Not open for further replies.
Top