Ok so this is basically what I want to happen, when baneling is in region 1 and another baneling is in region 2, then create 1 mutalisk at point 1 for triggering player... Everything ive tried does not work, this seems like it should be an easy trigger to run but i cant get it. Any help is appreciated.
Created an example for you that runs on a periodic timer so it will trigger as long as you have a baneling in each of the regions.
Trigger
Events
Timer - Every 5.0 seconds of Game Time
Local Variables
Conditions
(Unit type of (Unit 1 from (Baneling units in Region 001 owned by player (Triggering player) matching Excluded: Missile, Dead, Hidden, with at most Any Amount))) == Baneling
(Unit type of (Unit 1 from (Baneling units in Region 002 owned by player (Triggering player) matching Excluded: Missile, Dead, Hidden, with at most Any Amount))) == Baneling
Actions
Unit - Create 1 Mutalisk for player 1 at MutaliskSpawnPoint using default facing (No Options)
If you just want it to happen once for each time you bring a baneling into the regions you'll have to use a "unit enters/leaves region" event and switch out one of the conditions for a "unit type of triggering unit == baneling", and duplicate and edit the trigger so you'll have one trigger with conditions for each of the regions.
Conditions
(Unit type of (Unit 1 from (Special Golem Selector units in Confirm Golem Area owned by player (Triggering player) matching Excluded: Missile, Dead, Hidden, with at most Any Amount))) == Special Golem Selector
Actions
Unit - Create 1 Mutalisk for player (Triggering player) at Spawn p1 using default facing (No Options)
simpler version only requires baneling to be in 1 location but when I move it there error comes up that says
parameter out of bounds 'sUnitCrete' (value=-1, min=0, max=15) so its trying to run but this is stopping it, any ideas?
ok so i think i figured it out, in the actions section if i change (triggering player) to (player 1) it works but that means im gunna have to make like 500 triggers lol, any idea why it does this?
Created an example for you that runs on a periodic timer so it will trigger as long as you have a baneling in each of the regions.
Trigger
Events
Timer - Every 5.0 seconds of Game Time
Local Variables
Conditions
(Unit type of (Unit 1 from (Baneling units in Region 001 owned by player (Triggering player) matching Excluded: Missile, Dead, Hidden, with at most Any Amount))) == Baneling
(Unit type of (Unit 1 from (Baneling units in Region 002 owned by player (Triggering player) matching Excluded: Missile, Dead, Hidden, with at most Any Amount))) == Baneling
Actions
Unit - Create 1 Mutalisk for player 1 at MutaliskSpawnPoint using default facing (No Options)
If you just want it to happen once for each time you bring a baneling into the regions you'll have to use a "unit enters/leaves region" event and switch out one of the conditions for a "unit type of triggering unit == baneling", and duplicate and edit the trigger so you'll have one trigger with conditions for each of the regions.
timed events are terrible NEVER use them they are NOT dependable on Battle net. and they will never work when you need them to if they error on battle net at all for any reason, battle net will disable it and your trigger will be useless. not to mention the lagg involded with everyone in the game having a timed event that goes off every .5 seconds.
Ok so this is basically what I want to happen, when baneling is in region 1 and another baneling is in region 2, then create 1 mutalisk at point 1 for triggering player... Everything ive tried does not work, this seems like it should be an easy trigger to run but i cant get it. Any help is appreciated.
Thanks, Dark
Created an example for you that runs on a periodic timer so it will trigger as long as you have a baneling in each of the regions.
Trigger
Events
Timer - Every 5.0 seconds of Game Time
Local Variables
Conditions
(Unit type of (Unit 1 from (Baneling units in Region 001 owned by player (Triggering player) matching Excluded: Missile, Dead, Hidden, with at most Any Amount))) == Baneling
(Unit type of (Unit 1 from (Baneling units in Region 002 owned by player (Triggering player) matching Excluded: Missile, Dead, Hidden, with at most Any Amount))) == Baneling
Actions
Unit - Create 1 Mutalisk for player 1 at MutaliskSpawnPoint using default facing (No Options)
If you just want it to happen once for each time you bring a baneling into the regions you'll have to use a "unit enters/leaves region" event and switch out one of the conditions for a "unit type of triggering unit == baneling", and duplicate and edit the trigger so you'll have one trigger with conditions for each of the regions.
ok so this is what i have.
blah
Events Timer - Every 0.1 seconds of Game Time
Local Variables
Conditions (Unit type of (Unit 1 from (Special Golem Selector units in Confirm Golem Area owned by player (Triggering player) matching Excluded: Missile, Dead, Hidden, with at most Any Amount))) == Special Golem Selector
Actions Unit - Create 1 Mutalisk for player (Triggering player) at Spawn p1 using default facing (No Options)
simpler version only requires baneling to be in 1 location but when I move it there error comes up that says parameter out of bounds 'sUnitCrete' (value=-1, min=0, max=15) so its trying to run but this is stopping it, any ideas?
ok so i think i figured it out, in the actions section if i change (triggering player) to (player 1) it works but that means im gunna have to make like 500 triggers lol, any idea why it does this?
change it to owner of unit
Tried that and now it gives me the value 16 where max is only 15, I think this value is amount of players?
timed events are terrible NEVER use them they are NOT dependable on Battle net. and they will never work when you need them to if they error on battle net at all for any reason, battle net will disable it and your trigger will be useless. not to mention the lagg involded with everyone in the game having a timed event that goes off every .5 seconds.
make the event:
when any unit enters region