I need to have a condition to see so that if there is a unit in the region it returns false
To give a context my trigger's event is that when a space ship enters the region, I want the repair bot to play his work start animation and then play his work animation in a loop. But, multiple ship can be repaired at the same time, so if here is a unit in the region already, I don't want the trigger to activate since I don't want the work start animation to play.
I've checked a lot of things and still can't find the condition I'm looking for although I'd easily guess it's a comparison
Use a unit group:
(Number of Living units in (Any units in (Entire map) owned by player Any Player matching Excluded: Missile, Dead, Hidden, with at most Any Amount)) >= 1
I need to have a condition to see so that if there is a unit in the region it returns false
To give a context my trigger's event is that when a space ship enters the region, I want the repair bot to play his work start animation and then play his work animation in a loop. But, multiple ship can be repaired at the same time, so if here is a unit in the region already, I don't want the trigger to activate since I don't want the work start animation to play.
I've checked a lot of things and still can't find the condition I'm looking for although I'd easily guess it's a comparison
@OverPoweredZeratul: Go
Use a unit group:
(Number of Living units in (Any units in (Entire map) owned by player Any Player matching Excluded: Missile, Dead, Hidden, with at most Any Amount)) >= 1
aaah... thanks :)
again xP