• 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] Reomove from region

Status
Not open for further replies.
Level 6
Joined
Apr 30, 2008
Messages
153
i want it so that at a special time i place it removes units from a region
EXAMLE:
  • EVENT:
    • Time:Elapsed time 1598
  • Condition:
    • (owner of (triggering unit) is (player(12))
  • Actions:
    • Remove all (triggering units) from (selected region)
 
Level 28
Joined
Mar 25, 2008
Messages
2,955
So you want them to be removed from the game or what?
  • Events
  • Time - Elapsed gametime is 1598
  • Conditions
  • Actions
    • Set tempgrp = (Units in (region x <gen>)) owned by Player 12 (Brown)
    • Unit Group - Pick every unit in tempgrp and do remove (Picked unit) from the game
    • Custom script: call DestroyGroup(udg_tempgrp)
:D
 
Status
Not open for further replies.
Top