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.
[11:45 pm]
ClansAreForGays -- Anyone wanna played Skewed StarCraft?
[2026-4-14. : 12:07 am]
Vrael -- NudeRaider
NudeRaider shouted: Vrael ranting still is though
you're a gentleman and a scholar, thank you
[2026-4-13. : 10:07 pm]
NudeRaider -- ya why phone people when you can just write letters
[2026-4-13. : 9:37 pm]
IskatuMesk -- I have never and will never own a phone
[2026-4-13. : 9:15 pm]
NudeRaider -- Vrael ranting still is though
[2026-4-13. : 9:14 pm]
ClansAreForGays -- anticapitalism isnt edgy anymore
[2026-4-13. : 3:31 pm]
Vrael -- it only costs 50% of my post-tax salary for life and in return I get to also become a drone whose sole purpose is CAPITALISM
[2026-4-13. : 3:30 pm]
Vrael -- pssht, you're still using a phone? I just record 100% of my life using my ElonBrainChip
[2026-4-13. : 2:13 pm]
NudeRaider -- bro I don't go anywhere without my phone to record anything significant
[2026-4-13. : 1:28 pm]
Vrael -- Zoan
Zoan shouted: not if u wer there
id say even if you were there its tricky, human memory can be very faulty
Please log in to shout.


Members Online: l)ark_ssj9kevin, Zycorax