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.
[12:23 pm]
Voyager7456 -- excuse me I would like to report a violation of SEN rules
[11:31 am]
lil-Inferno -- :ban:
[11:06 pm]
Ultraviolet -- NudeRaider
NudeRaider shouted: lil-Inferno true, I do care about being able to say Nigger
:lol: I almost went there but figured I'd stirred up the shit enough lately
[05:53 pm]
Zycorax -- :O
[03:58 pm]
MTiger156 -- 0_0 I am shook :ban:
[03:40 pm]
Wing Zero -- :ban:
[02:08 pm]
lil-Inferno -- why exactly are you a global mod again? lmao
[01:54 pm]
NudeRaider -- lil-Inferno
lil-Inferno shouted: true gamers only care about being able to say the n word
true, I do care about being able to say Nigger
[12:56 pm]
IlyaSnopchenko -- It doesn't have anything to do with the type of monitor, provided the monitor is a good one
[12:56 pm]
IlyaSnopchenko -- 1.16 does look better than SD in SCR because of the way the latter smoothes (=muddles) the graphics
Please log in to shout.


Members Online: Bruce, C(a)HeK, Roy, jaxson_griffin_66