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.
[07:47 pm]
Ultraviolet -- Yeah, I suppose there's something to that
[2024-5-06. : 5:02 am]
Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
[2024-5-06. : 5:02 am]
Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
[2024-5-06. : 5:01 am]
Oh_Man -- initially I thought it was weird why is he still using the basic pre-EUD medic healing system, but it's actually genius
[2024-5-06. : 3:04 am]
Ultraviolet -- Vrael
Vrael shouted: I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
With the modern EUD editors, I don't think they're calculating nearly as many offsets as you might imagine. Still some fancy ass work that I'm sure took a ton of effort
[2024-5-06. : 12:51 am]
Oh_Man -- definitely EUD
[2024-5-05. : 9:35 pm]
Vrael -- I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
[2024-5-05. : 9:35 pm]
Vrael -- that is insane
[2024-5-05. : 9:35 pm]
Vrael -- damn is that all EUD effects?
[2024-5-04. : 10:53 pm]
Oh_Man -- https://youtu.be/MHOZptE-_-c are yall seeing this map? it's insane
Please log in to shout.


Members Online: Excalibur