Action
Pick each unit in region player 1 owned by player 1 matching: (the usual) with any amount
Action
Add 1 (My own behaviour) to picked player from player 0
I had hoped that it would give all the picked units the behaviour, but only 1 get the behaviour.
Unit Group - Pick each unit in (Command Center (Infestable) units in (Entire map) owned by player 4 matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions)
Actions
Unit - Add 1 Infested to (Picked unit) from player 4
EDIT:
Spotted the bug! Change "Picked player" to "Picked unit". At the moment you are adding the behavior to player, not unit.
Thanks for the answer, sorry my mistake it is picked unit in my trigger. Also, I want the behavior to be applied only to the units in the specific region.. =/
Yeah, Is a good way, but I haven´t found anything yet. The trigger should be simple. So perhaps it is in the data ..
I don´t know if you can see anything odd in these images.
I have already encountered issues with "matching conditions", it did not work at all, but I can't say which condition or what is the bug. Not sure if it was the same problem than you have, but you could try to select your units an other way to be sure.
It's because of the wait in your actions, after applying it to one unit it'll wait 3 minutes and kill the unit it applied to, and then move on to the next one.
You could get around this issue by creating a custom action that has create thread checked, that applies the behavior to the unit passed through a param.
So my trigger looks look like this: Event
Nexus dies
Action Pick each unit in region player 1 owned by player 1 matching: (the usual) with any amount Action Add 1 (My own behaviour) to picked player from player 0
I had hoped that it would give all the picked units the behaviour, but only 1 get the behaviour.
I tried to change add 50. But the same result..
Am I missing something?
Custom Campaign initiative StarCraft: Pandora , StarCraft: Replicant
Hey. Hope this helps.
Unit Group - Pick each unit in (Command Center (Infestable) units in (Entire map) owned by player 4 matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions)
Actions
Unit - Add 1 Infested to (Picked unit) from player 4
EDIT:
Spotted the bug! Change "Picked player" to "Picked unit". At the moment you are adding the behavior to player, not unit.
@Terhonator: Go
Thanks for the answer, sorry my mistake it is picked unit in my trigger. Also, I want the behavior to be applied only to the units in the specific region.. =/
Custom Campaign initiative StarCraft: Pandora , StarCraft: Replicant
@Trieva: Go
Yes. The region is there and it works to some extent. Like 1 stallet gets the behaviour but not the rest. Or like 1 zealot.
Custom Campaign initiative StarCraft: Pandora , StarCraft: Replicant
Can it be something with the effect and behaviour itself...
Custom Campaign initiative StarCraft: Pandora , StarCraft: Replicant
@Trieva: Go
Yeah, Is a good way, but I haven´t found anything yet. The trigger should be simple. So perhaps it is in the data .. I don´t know if you can see anything odd in these images.
Custom Campaign initiative StarCraft: Pandora , StarCraft: Replicant
I have already encountered issues with "matching conditions", it did not work at all, but I can't say which condition or what is the bug. Not sure if it was the same problem than you have, but you could try to select your units an other way to be sure.
@Kloupz: Go
Hmm usaly works for me =/ but this time it is very strange
Custom Campaign initiative StarCraft: Pandora , StarCraft: Replicant
Solved it. Had to change this in the trigger. Instead of caster (Player 0) I changed it to from caster unit (Picked unit)
Custom Campaign initiative StarCraft: Pandora , StarCraft: Replicant
Fine, perhaps the bug I encoutered is with "biological required", but I am not sure.
hmm, worked once anyways =(
Custom Campaign initiative StarCraft: Pandora , StarCraft: Replicant
It's because of the wait in your actions, after applying it to one unit it'll wait 3 minutes and kill the unit it applied to, and then move on to the next one.
You could get around this issue by creating a custom action that has create thread checked, that applies the behavior to the unit passed through a param.
Still alive and kicking, just busy.
My guide to the trigger editor (still a work in progress)
@willuwontu: Go
Ah right you are, that was indeed the problem, thank you
Custom Campaign initiative StarCraft: Pandora , StarCraft: Replicant