Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Removing Buildings of a CPU-ized Human Slot
Removing Buildings of a CPU-ized Human Slot
This topic is locked. You can no longer write replies here.
Mar 29 2009, 5:57 am
By: Decency  

Mar 29 2009, 5:57 am Decency Post #1



When Player 1 (Human) is not in the game, (or leaves partway through) I have a trigger that creates two missile turrets in predefined locations for Player 1.

When I try to remove these turrets, the game decides that it doesn't want to.

I have tried these actions, the trigger executes but the turrets remain:
- Remove all turrets owned by all players.
- Remove all turrets owned by all players at anywhere.
- Kill all turrets for all players

The trigger is run by Player 4 (a CPU).



None.

Mar 29 2009, 6:08 am Decency Post #2



Okay.

- Remove all turrets owned by Player 1.

Works. StarCraft can be lame like that.

(Close me.)



None.

Mar 29 2009, 12:09 pm NudeRaider Post #3

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Yes, ghost players (and the units created for them) are not counting towards All Players. However units of leavers go to P12 which IS counting towards All Players.
Best fix: Avoid creating units for ghost players by always using Current Player when creating units. Generally you should never use specific player numbers if it's not a computer, or if that computer may be defeated.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:40 am]
Oh_Man -- true
[03:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
[01:40 am]
Oh_Man -- tthen u come to SCBW and it's like - upload WAV, play WAV.... sigh why cant it be that easy
[01:40 am]
Oh_Man -- and no consistent easy to use way to then play the audio either
[01:39 am]
Oh_Man -- where they use third party audioprogram called WWISE which basically makes adding audio extremely difficult
[01:39 am]
Oh_Man -- i appreciate SCBW's ability to just let us upload and play WAVs so much compared to nightmare that is total war warhammer 3
[2026-7-18. : 2:27 am]
Symmetry -- https://staredit.net/topic/18903/ THE REVIEWS ARE HERE! "ok these are pretty good memes" - ssj9Kevin
[2026-7-17. : 2:58 pm]
Ultraviolet -- Symmetry
Symmetry shouted: Man I wish we had this tech back in the day when people played ums lmao
fr fr
[2026-7-17. : 2:39 am]
Symmetry -- Man I wish we had this tech back in the day when people played ums lmao
[2026-7-16. : 6:28 am]
NudeRaider -- EUD actions, specifically. The conditions remained. Today we can even have actions again, but they're all virtualized/whitelisted (not sure on the actual technical implementation) so you can only use them for specific intended purposed, not arbitrary code injections.
Please log in to shout.


Members Online: MarineElite