• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

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

Status
Not open for further replies.
:/
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:
[offtopic]Wowowowowow can I have the map pwease? :> [/offtopic]

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