Hi everyone, I seem to be missing something here and was wondering if I could get someone else to take a look at this trigger.
The idea is that when the Auto-Turret dies, a new one is created for the person who killed it, similar to the Risk custom games. I don't want a single trigger to handle a general "spawn units" for each territory because of other game elements involved. The problem I'm having is when I kill one Auto-Turret, it spawns new turrets in every territory for me, and lots of them.
My guess is that it has to do with the fact the Event condition is set to:
Unit - (Unit attached to Middle East) dies
Being that once that event is true, it's always true because it's referring to the specific turret it was originally attached to?
I dunno that's my guess. If anyone has any ideas, I'd love to hear it. Thanks ^^
did you make sure to attach middle east to the original auto turret?
and a even better trigger thant wouldnt use all the regions, when any unit dies, if unit is auto turret. you give it to owned if killing unit at "killed_unit_x, Killed_unit_y" kinda thing.
Rollback Post to RevisionRollBack
Random Information
Tutorials - Map Development - Galaxy wiki
|Issues? PM me|
and a even better trigger thant wouldnt use all the regions, when any unit dies, if unit is auto turret. you give it to owned if killing unit at "killed_unit_x, Killed_unit_y" kinda thing.
For the purposes of my question, lets assume that because of other reasons, the triggers need to be separated, one for each 'territory'. With that said, does that mean you don't see any issues with the trigger that I have posted?
Okay, lemme rephrase the question. Does the trigger I posted above have problems (assuming the rest of the triggers are correct) or no? I understand how to do it more efficiently as I've found several tutorials here in the forums. I however, want to learn why this way (the wrong way) isn't working and I believe that it's in that trigger I posted. If not, then I'll post the other two triggers in order to figure it out.
Does anyone actually bother reading what people type in here? or maybe it's that you all do read what I type but assume I'm an idiot?
If I had asked, "What's a better way to do what I'm trying to do here?" then fine, that makes sense... but that wasn't my question. My question was "Why isn't this trigger working?".
And I think I made that pretty clear in my second reply stating that I KNOW there's a more efficient way to do it, yet I still wanted to know how to make it work the way I was doing it.
Anyone out there capable of reading and/or not assuming everyone online is a complete Muppet?
Hi everyone, I seem to be missing something here and was wondering if I could get someone else to take a look at this trigger.
The idea is that when the Auto-Turret dies, a new one is created for the person who killed it, similar to the Risk custom games. I don't want a single trigger to handle a general "spawn units" for each territory because of other game elements involved. The problem I'm having is when I kill one Auto-Turret, it spawns new turrets in every territory for me, and lots of them.
My guess is that it has to do with the fact the Event condition is set to:
Unit - (Unit attached to Middle East) dies
Being that once that event is true, it's always true because it's referring to the specific turret it was originally attached to?
I dunno that's my guess. If anyone has any ideas, I'd love to hear it. Thanks ^^
did you make sure to attach middle east to the original auto turret?
and a even better trigger thant wouldnt use all the regions, when any unit dies, if unit is auto turret. you give it to owned if killing unit at "killed_unit_x, Killed_unit_y" kinda thing.
The original Auto-Turret is attached to the Middle East region, yes.
For the purposes of my question, lets assume that because of other reasons, the triggers need to be separated, one for each 'territory'. With that said, does that mean you don't see any issues with the trigger that I have posted?
Create an array, add the turrets to the array, then have an event to be something like this:
Event: Any unit is killed
Conditions: Triggering unit=TurretMiddleEast[1]
Actions:Create 1 Turret for player [Killer] at the position of TurretMiddleEast[1]
Set TurretMiddleEast[1] = (Last Created Unit)
Etc.
@deathtorn: Go
Okay, lemme rephrase the question. Does the trigger I posted above have problems (assuming the rest of the triggers are correct) or no? I understand how to do it more efficiently as I've found several tutorials here in the forums. I however, want to learn why this way (the wrong way) isn't working and I believe that it's in that trigger I posted. If not, then I'll post the other two triggers in order to figure it out.
Think of it as a learning experience for me.
Thanks for the help!
Does mine not work, or did you only want what you have to be fixed?
Does anyone actually bother reading what people type in here? or maybe it's that you all do read what I type but assume I'm an idiot?
If I had asked, "What's a better way to do what I'm trying to do here?" then fine, that makes sense... but that wasn't my question. My question was "Why isn't this trigger working?".
And I think I made that pretty clear in my second reply stating that I KNOW there's a more efficient way to do it, yet I still wanted to know how to make it work the way I was doing it.
Anyone out there capable of reading and/or not assuming everyone online is a complete Muppet?