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.
[10:53 pm]
Oh_Man -- https://youtu.be/MHOZptE-_-c are yall seeing this map? it's insane
[2024-5-04. : 1:05 am]
Vrael -- I won't stand for people going around saying things like im not a total madman
[2024-5-04. : 1:05 am]
Vrael -- that's better
[2024-5-04. : 12:39 am]
NudeRaider -- can confirm, Vrael is a total madman
[2024-5-03. : 10:18 pm]
Vrael -- who says I'm not a total madman?
[2024-5-03. : 2:26 pm]
UndeadStar -- Vrael, since the ad messages get removed, you look like a total madman for someone that come late
[2024-5-02. : 1:19 pm]
Vrael -- IM GONNA MANUFACTURE SOME SPORTBALL EQUIPMENT WHERE THE SUN DONT SHINE BOY
[2024-5-02. : 1:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[2024-5-01. : 1:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
Please log in to shout.


Members Online: Roy, Dem0n