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.
[2026-4-29. : 2:00 am]
l)ark_ssj9kevin -- hi jamal
[2026-4-29. : 12:18 am]
Heinermann -- memes
[2026-4-28. : 10:08 pm]
NudeRaider -- skeet-skeet, motherfucker
[2026-4-28. : 4:24 pm]
Vrael -- NudeRaider
NudeRaider shouted: Vrael boy, if you're not careful I'll moderate your sorry ass too!
gotta catch me first! skeet skeet skeet
[2026-4-26. : 1:58 pm]
lil-Inferno -- ya
[2026-4-25. : 11:50 pm]
JamaL -- Glad to see SEN will never die. Kudos to whoever is paying the hosting fees these days!
[2026-4-25. : 3:37 pm]
NudeRaider -- (-.-,)
[2026-4-25. : 3:35 pm]
Zoan -- ;o I thought that was a monkey emote
[2026-4-25. : 3:34 pm]
Zoan -- :mods:
[2026-4-25. : 3:34 pm]
Zoan -- :mods"
Please log in to shout.


Members Online: RIVE, Moose