• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[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