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.
[01:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[10:11 pm]
Ultraviolet -- :P
[10:11 pm]
Ultraviolet -- How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
[2024-4-17. : 11:50 pm]
O)FaRTy1billion[MM] -- nice, now i have more than enough
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- if i don't gamble them away first
[2024-4-17. : 11:49 pm]
O)FaRTy1billion[MM] -- o, due to a donation i now have enough minerals to send you minerals
[2024-4-17. : 3:26 am]
O)FaRTy1billion[MM] -- i have to ask for minerals first tho cuz i don't have enough to send
[2024-4-17. : 1:53 am]
Vrael -- bet u'll ask for my minerals first and then just send me some lousy vespene gas instead
[2024-4-17. : 1:52 am]
Vrael -- hah do you think I was born yesterday?
Please log in to shout.


Members Online: Roy