• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Pause and Unpause

Status
Not open for further replies.
i am makeing a trigger where a player types -out the units is moved and paused for 30 seconds i can do that but the unit does not unpause after 30 seconds help will be rewarded with rep
  • Out
    • Events
      • Player - Player 1 (Red) types a chat message containing -out as An exact match
    • Conditions
    • Actions
      • Unit Group - Pick every unit in (Units in Forist Dungen <gen> owned by (Triggering player)) and do (Actions)
        • Loop - Actions
          • Game - Display to (Player group((Triggering player))) the text: You have left the d...
          • Unit - Move (Picked unit) instantly to Hero_Rev
          • Unit - Pause (Picked unit)
          • Wait PauseTime seconds
          • Unit - Unpause (Picked unit)
  • Set Revpoint
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set PauseTime = 30.00
 
Last edited:
Level 13
Joined
Mar 24, 2010
Messages
950
you can not wait 30 secs inside the loop, you need to wait 30 secs and then do the same pick all units in that region and unpause them. as u have it now it waits 30 secs everytime it picks 1 unit. I dont have time to test it and show u but I know 100% what i said will work :)
 
Status
Not open for further replies.
Top