• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Pausing all units of a player

Status
Not open for further replies.
Level 3
Joined
Oct 20, 2017
Messages
52
Hello, sorry for my bad English, but I am having difficulties with a trigger that may be something very obvious or not, but to the point: I want to create a trigger that can pause all units of a player in a short period of time, but I am not getting this, because instead I am pausing all the players that are in the game, someone help me; -;
 
I have one suggestion:

to make a variable unit group and store the units in it and after pausing then to destroy it

set PlayersUnits = all units owned by playerX
pick all units in PlayersUnits and pause (picked unit)
call DestroyGroup(udg_PlayersUnits)


The usual routine that all spell reviewers want, so that there are no leaks and your spell gets approved.
 
I have one suggestion:

to make a variable unit group and store the units in it and after pausing then to destroy it

set PlayersUnits = all units owned by playerX
pick all units in PlayersUnits and pause (picked unit)
call DestroyGroup(udg_PlayersUnits)


The usual routine that all spell reviewers want, so that there are no leaks and your spell gets approved.
Do they have bias over bj_wantDestroyGroup? :P
 
Status
Not open for further replies.
Back
Top