Staredit Network

Staredit Network -> UMS Assistance -> Player/Computer Player help
Report, edit, etc...Posted by DISTURBED on 2005-09-19 at 16:11:16
I can never seem to get this bullblam right.. So I'm askin' for some one to help me with this...

I'm making an Impossible Scenarios Map...
Problem I'm having is I have Player 8 units set to become player units when they enter game...
Yet, when they're given to people who're not in game, they just become the absent player's color, and attack everything else, as if it were an enemy computer player.

Anyone know how to prevent this? Assistance greatly appreciated.
Report, edit, etc...Posted by warhammer40000 on 2005-09-19 at 16:19:37
Do you want the units to just not show up or stay neutral?
Report, edit, etc...Posted by DISTURBED on 2005-09-19 at 16:26:44
I want them to not show up.
Report, edit, etc...Posted by warhammer40000 on 2005-09-19 at 16:32:18
The only thing i can think of now is to create a certain unit(Marine for this example) for each human player in some place nobody goes on the map. Then have a trigger for each player like


TRIGGERS
-Player 1 contains 0 Marine at location "PLAYERCHECK"

ACTIONS
-Set Switch "Player One NOT in game!"


--------
TRIGGERS
-Switch "Player one NOT in game!" is set

ACTIONS
-Always
-Remove all units for player one
-Preserve Trigger



Youll need hypers. Thats my great idea...
Report, edit, etc...Posted by DISTURBED on 2005-09-19 at 16:43:12
Hmmmm... Tried it.. It didn't work at all...
Report, edit, etc...Posted by warhammer40000 on 2005-09-19 at 16:49:10
Well it works, dude. I just tested it out on my own map. Post the triggers you did.
Report, edit, etc...Posted by DISTURBED on 2005-09-19 at 16:52:16
CONDITIONS:
- Current player brings exactly 0 Terran Comsat Station to 'Comsats'
ACTIONS:
- Set Player One Not In Game
------------------------------------------------------------------------------
CONDITIONS:
- Players One Not In Game is set
- Always
ACTIONS:
- Kill all any unit for current player at Red 01
- Preserve Trigger
Report, edit, etc...Posted by Toothfariy on 2005-09-19 at 16:53:03
take off the always for the 2nd trig. you dont need it. and dont perserve it either
Report, edit, etc...Posted by warhammer40000 on 2005-09-19 at 17:13:47
QUOTE(Toothfariy @ Sep 19 2005, 04:52 PM)
take off the always for the 2nd trig. you dont need it. and dont perserve it either
[right][snapback]317471[/snapback][/right]

Eh... No... That means itd only kill them once.


Anyway, you did the triggers wrong DISTURBED. Comsats belong to a player there or not. Do a unit as the "playerchecker", not a building(or addon). Trust me on this.
Report, edit, etc...Posted by DISTURBED on 2005-09-19 at 17:19:42
Warhammer, post your triggers... I still can't get this to work.
Report, edit, etc...Posted by warhammer40000 on 2005-09-19 at 17:55:42
Ah, i know what you did now, look at mine to get it exact. (You did BRING condition, i did COMMAND. The checker unit may not be used anywhere else in the game)

CONDITIONS
-Player one commands exactly 0 terran marine

ACTIONS
-Set Switch "NoPlayerOne"

-------

CONDITIONS
-Switch "NoPlayerOne" Is set
-Always

ACTIONS
-Kill All units owned by player one
-Preserve Trigger
Report, edit, etc...Posted by Oo.Turin.oO on 2005-09-19 at 18:55:54
QUOTE(warhammer40000 @ Sep 19 2005, 01:55 PM)
Ah, i know what you did now, look at mine to get it exact. (You did BRING condition, i did COMMAND. The checker unit may not be used anywhere else in the game)

CONDITIONS
-Player one commands exactly 0 terran marine

ACTIONS
-Set Switch "NoPlayerOne"

-------

CONDITIONS
-Switch "NoPlayerOne" Is set
-Always

ACTIONS
-Kill All units owned by player one
-Preserve Trigger
[right][snapback]317524[/snapback][/right]

This method doesn't work dude. If there is no player 1 when the game starts, then it gives them to an inactive player and it doesn't count them for player 1. I think it counts them as a player above 12 if you give them to that player and its supposed to be human but there is no human player. i dunno its confusing. but its not player 12's unit, but it also doesn't listen to the player it was given to either. In my map i give units to all 4 players. if you lose the game it kills all units owned by players 1-4 (the humans) but it doesn't kill the one building that was given to the human player that is not there. I know its confusing but its all i got. I guess what you could do is, if they aren't there, then kill the units at that location.
Report, edit, etc...Posted by warhammer40000 on 2005-09-20 at 17:30:56
Well it worked for me, dude.
Report, edit, etc...Posted by Kumano on 2005-09-20 at 17:49:03
You don't create or give the marine with trigger or else it will do nothing since it will be given to the computer player 1 that attacks everything. The units that are placed in the editor won't be there if the player controlling them isn't there.
Report, edit, etc...Posted by DISTURBED on 2005-09-20 at 20:31:16
QUOTE(Kumano @ Sep 20 2005, 05:48 PM)
You don't create or give the marine with trigger or else it will do nothing since it will be given to the computer player 1 that attacks everything. The units that are placed in the editor won't be there if the player controlling them isn't there.
[right][snapback]318249[/snapback][/right]


You're wrong sadly... Or you didn't pay attention to what I said.
I said I have ALREADY PLACED UNITS on the map... For the computer. but when players enter the game they're trigger controlled given to active players... but since the players aren't there they become some weird computer controlled units.
Report, edit, etc...Posted by Oo.Turin.oO on 2005-09-20 at 20:34:37
here i have an idea. when you give units to a player make it under that player. so when you give units to player 1 then have the trigger under player 1 ONLY. then...when you give units to players for that specific spot, just kill all of player 8 after you give units. and if you want them to not fight, then have them invincible then give units to players, then kill player 8 that isn't part of the level, then make them unvincible. that should work out fine. ask if my solution is confusing
Report, edit, etc...Posted by DISTURBED on 2005-09-20 at 21:07:40
QUOTE(Veritaserum @ Sep 20 2005, 08:34 PM)
here i have an idea. when you give units to a player make it under that player. so when you give units to player 1 then have the trigger under player 1 ONLY. then...when you give units to players for that specific spot, just kill all of player 8 after you give units. and if you want them to not fight, then have them invincible then give units to players, then kill player 8 that isn't part of the level, then make them unvincible. that should work out fine. ask if my solution is confusing
[right][snapback]318410[/snapback][/right]



Haha, I think you mean like, place a trigger meant for player 8, under the properties of player 1, and so on? If so I could try that.
Report, edit, etc...Posted by Ice_Inferno_X3 on 2005-09-20 at 21:10:10
just here for the minerals....and yea.
Report, edit, etc...Posted by Urmom(U) on 2005-09-20 at 21:18:51
you might want to try remove units for player 12 instead of 8 but i forget and his method shuld work
Report, edit, etc...Posted by Oo.Turin.oO on 2005-09-20 at 21:43:25
QUOTE(DISTURBED @ Sep 20 2005, 05:07 PM)
Haha, I think you mean like, place a trigger meant for player 8, under the properties of player 1, and so on? If so I could try that.
[right][snapback]318454[/snapback][/right]

Yeah. Oh and also, you can remove the zergling too instead of giving it to someone else. Either way, the location will never come back to it happy.gif
Report, edit, etc...Posted by DISTURBED on 2005-09-20 at 22:08:10
QUOTE(urmom @ Sep 20 2005, 09:18 PM)
you might want to try remove units for player 12 instead of 8 but i forget and his method shuld work
[right][snapback]318468[/snapback][/right]


I need to know how to work that without messing up anything... Usin player 12 edition of Xtra always messed up for me.
Report, edit, etc...Posted by Oo.Turin.oO on 2005-09-20 at 23:55:39
QUOTE(Veritaserum @ Sep 20 2005, 05:43 PM)
Yeah. Oh and also, you can remove the zergling too instead of giving it to someone else. Either way, the location will never come back to it  happy.gif
[right][snapback]318507[/snapback][/right]

WOW i posted this on the wrong topic helpsmilie.gif helpsmilie.gif helpsmilie.gif ME! lol. okay i dunno what they mean by remove units by player 12 becuase if you give units to a player not there, its not player 12s units....so thats a dumb idea
Next Page (1)