I do spawner this spawn after 5 sec 2 zerglings one for player 1 and second for player 2, and they attack each other, I want to spawn next zergling for player 1 when he lose his first zergling and vice versa. But when zergling die this spawn zergling for both players, I dont know why.
As the event you are using picks a unit id in that slot you are probably equivalently using a zergling dies event. Add a condition like triggering unit owner or something.
I do spawner this spawn after 5 sec 2 zerglings one for player 1 and second for player 2, and they attack each other, I want to spawn next zergling for player 1 when he lose his first zergling and vice versa. But when zergling die this spawn zergling for both players, I dont know why.
I made test map with same trigger.
Link: Map
So you are using triggers to spawn the zerglings?
Moved to triggers forum.
As the event you are using picks a unit id in that slot you are probably equivalently using a zergling dies event. Add a condition like triggering unit owner or something.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
Ok i try this but I can do something like add all player 1 units to group 1 and all player 2 units to group 2?
I add zergrilngs to group 1 and 2 and make condition (Number of Living units in Unit Group 001) < 1 then spawn another and work nice.
Thanks for help.