Alrighty, so I've tried this multiple ways, every way that I can think of, and I just can't seem to get this to work properly; Therefor I am here seeking some insight on how to correct this, or another way to attempt going about this.
So I have 6 zerglings, 1 for each player. I have 6 regions, respectively named PX Ling. I have a trigger set to run on initialization, that should set the regions onto the respective zerglings. When said zerglings die(The only way I could find to run the trigger at this point in time. Any Insights?), the trigger kicks in, subtracting 1 life, running the dialog update, making a respawn timer, recreating a unit, and then reattaching the region.
Now after setting all this up, I've found 2 major problems.
A- The ling death for player 1 trigger runs when anything dies. Any unit, owned by any player. Meaning -1 as well as timers are being spawned for Player 1 when anything dies.
B- The ling respawn shouldn't be working if the lives = 0, but it still is.
I think one problem is with the regions being attached. I at one point added it to spawn a phoenix wherever the region was at the time of the ling death, and they spawned in the same place everytime. That being said, theres multiple problems with this, and I'm at a complete bump on how to get around this. Any insights? Related triggers are as follows:
InitLingRegions
LivesChangeP1
Edit:
It appears that the regions were only being used in a previous attempt, and I tried to switch to to this current Event to trigger it in LivesChangeP1. The question remains the same anyways though.
I'll be trying this way shortly, no reply means it worked.
:/ I really haven't gotten used to trying to set a Event to run the trigger as 'Any unit comes here', while having extra conditions which define the unit. I've been trying to do it all in the Event.
From what I understand, you want the zerglings to respawn where they die (or at some random point near their point of death?)
Take a look at the attached map - you can do that without regions, mostly by grabbing all the values you want out of the unit/player before your wait action
No, actually they respawn at a Region named Respawn.
The only reason for the Regions named PX Ling was the last Event I tried to trigger this with was trying to use a command for when a unit died inside said region, since I was having problems defining which zergling belonged to which player.
That being said, my second post fixxed it.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Alrighty, so I've tried this multiple ways, every way that I can think of, and I just can't seem to get this to work properly; Therefor I am here seeking some insight on how to correct this, or another way to attempt going about this.
So I have 6 zerglings, 1 for each player. I have 6 regions, respectively named PX Ling. I have a trigger set to run on initialization, that should set the regions onto the respective zerglings. When said zerglings die(The only way I could find to run the trigger at this point in time. Any Insights?), the trigger kicks in, subtracting 1 life, running the dialog update, making a respawn timer, recreating a unit, and then reattaching the region.
Now after setting all this up, I've found 2 major problems.
A- The ling death for player 1 trigger runs when anything dies. Any unit, owned by any player. Meaning -1 as well as timers are being spawned for Player 1 when anything dies.
B- The ling respawn shouldn't be working if the lives = 0, but it still is.
I think one problem is with the regions being attached. I at one point added it to spawn a phoenix wherever the region was at the time of the ling death, and they spawned in the same place everytime. That being said, theres multiple problems with this, and I'm at a complete bump on how to get around this. Any insights? Related triggers are as follows:
InitLingRegions
LivesChangeP1
Edit:
It appears that the regions were only being used in a previous attempt, and I tried to switch to to this current Event to trigger it in LivesChangeP1. The question remains the same anyways though.
Answering my own questions. I found another way to attempt while lurking some more.
Link
I'll be trying this way shortly, no reply means it worked.
:/ I really haven't gotten used to trying to set a Event to run the trigger as 'Any unit comes here', while having extra conditions which define the unit. I've been trying to do it all in the Event.
From what I understand, you want the zerglings to respawn where they die (or at some random point near their point of death?)
Take a look at the attached map - you can do that without regions, mostly by grabbing all the values you want out of the unit/player before your wait action
No, actually they respawn at a Region named Respawn.
The only reason for the Regions named PX Ling was the last Event I tried to trigger this with was trying to use a command for when a unit died inside said region, since I was having problems defining which zergling belonged to which player.
That being said, my second post fixxed it.