Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Giving Neutral Units to Remaining Players
Giving Neutral Units to Remaining Players
Apr 26 2017, 12:50 am
By: gibbsies  

Apr 26 2017, 12:50 am gibbsies Post #1



So, all I'm trying to do is give neutral units owned by Player 12 to the remaining Players after someone leaves the game. This is what I have, and I'm not sure why it isn't working:

-Players:
-Neutral
-
-Conditions:
-Always
-
-Actions:
-Give all any unit owned by Neutral at Anywhere to Force 1
-Preserve Trigger


Am I missing something?



None.

Apr 26 2017, 1:26 am MetalGear Post #2



You need to change the trigger owner to force 1. Triggers don't run for neutral player.




Apr 26 2017, 2:48 am gibbsies Post #3



That doesn't appear to work, either. :(



None.

Apr 26 2017, 3:05 am jjf28 Post #4

Cartography Artisan

I think Neutral = p12 = player units are given to after they leave

I don't think "give to f1" is valid, I think it needs to be a real player





TheNitesWhoSay - Clan Aura - github

Reached the top of StarCraft theory crafting 2:12 AM CST, August 2nd, 2014.

Apr 26 2017, 3:25 am NudeRaider Post #5

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

Yeah 2x use of wrong player: Owner needs to be Force1 (P9+ can't run triggers), and receipient should be Current Player.

Another recommendation: If you give all units, P1 will receive them all. So to make it somewhat fair, give the units 1 by 1 (give 1 any unit) so P1 gets the first, P2 the second, P3 the third, and so on until all units are distributed.

Still biased for lower player number when the number of leftover units isn't perfectly divisible by the remaining number of players, but it's quick and easy.




Apr 26 2017, 3:46 am gibbsies Post #6



Ah, yes. That did work! Thank you!



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[05:17 pm]
Oh_Man -- so i was today years old wen i learned rebel yell starcraft mission is named after a billy idol song. makes me wonder wat other missions are named after songs
[2026-6-04. : 3:42 am]
RIVE -- Hellooooo, Nurse
[2026-6-03. : 4:19 pm]
NudeRaider -- Hello World!
[2026-6-01. : 4:03 pm]
IskatuMesk -- no Hello World? No Hello . jpeg? Not even ddosing some government website? smh my head
[2026-5-31. : 10:02 pm]
Symmetry -- I was really just figuring out how to compile
[2026-5-31. : 10:02 pm]
Symmetry -- I didn't make it do anything
[2026-5-31. : 9:17 pm]
Ultraviolet -- hell yeah. did you have trouble making the button functional, or just haven't gotten there yet?
[2026-5-31. : 8:29 pm]
Symmetry -- I made the marine shoot lasers and gave the medic a nonfunctional button
[2026-5-31. : 8:07 pm]
Ultraviolet -- Symmetry
Symmetry shouted: I did my first EUD thing today. Feels like me finding arsenal at age 8 again
haha for sure. in some ways it's even more exciting because you can play EUD maps on regular battle.net, don't need to convince someone to download your mod to play with you. what did you do?
[2026-5-31. : 6:47 pm]
Symmetry -- I did my first EUD thing today. Feels like me finding arsenal at age 8 again
Please log in to shout.


Members Online: Moose