I have a point (player 1 spawn), one for each player. I want it to spawn a probe at that point only if it the player is in the game(so i don't have 3 extra probes getting in the way). my action for this says something like this:
Unit - Create 1 Probe for Player (picked player) at player spawn points [(picked player)]
this creates a probe, in the correct spot, but it's not mine. it doesn't belong to the player. anyone know how to fix this.
i dunno, it seems pretty solid from what info youve given. youd have to post the whole trigger for me to get an idea of why it may be acting up. but seemingly if youve set your spawn points to the proper places/player numbers then i dont see why it would be acting up without seeing more info.
How do i show the source code for all my triggers or whatnot, if that's what you want? i think that would be the best bet to show you what i've done and what is linked to what.
no it's not, but the "picked player" in "player spawn points (picked Player)" puts the probe in the correct start location. i also don't know how to open up a complete code editor thing, I only see the graphical thing where it lays it out for you in groups, not actual code.
It's probably a coincidence that the probe spawns at the right point (I believe you are player 1 and you're the only one testing it).
Picked player can ONLY be used correctly when the preceeding line is something like "Pick each player".
It might be that active players are also computer players. Gotta try it out.
Thank you s3rius. I finaly got it to spawn atatched to the player, havn't tryed it with more than 1 person though, and it now spawns to player 2's position, but I'll have to fix that later, it's time for school. lol
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I have a point (player 1 spawn), one for each player. I want it to spawn a probe at that point only if it the player is in the game(so i don't have 3 extra probes getting in the way). my action for this says something like this:
Unit - Create 1 Probe for Player (picked player) at player spawn points [(picked player)]
this creates a probe, in the correct spot, but it's not mine. it doesn't belong to the player. anyone know how to fix this.
i dunno, it seems pretty solid from what info youve given. youd have to post the whole trigger for me to get an idea of why it may be acting up. but seemingly if youve set your spawn points to the proper places/player numbers then i dont see why it would be acting up without seeing more info.
How do i show the source code for all my triggers or whatnot, if that's what you want? i think that would be the best bet to show you what i've done and what is linked to what.
I hope the line preceding that is "Pick each player in player group "all players"" (Or whatever your active player group is)!
no it's not, but the "picked player" in "player spawn points (picked Player)" puts the probe in the correct start location. i also don't know how to open up a complete code editor thing, I only see the graphical thing where it lays it out for you in groups, not actual code.
@canichols2: Go
How about using Pick each player in player group 'Active Players'?
That way you won't spawn probes for players not in the game.
It's probably a coincidence that the probe spawns at the right point (I believe you are player 1 and you're the only one testing it).
Picked player can ONLY be used correctly when the preceeding line is something like "Pick each player".
It might be that active players are also computer players. Gotta try it out.
Thank you s3rius. I finaly got it to spawn atatched to the player, havn't tryed it with more than 1 person though, and it now spawns to player 2's position, but I'll have to fix that later, it's time for school. lol