1. you set the ability to have Autocast and Autocast On checked in ability flags
2. set the autocast radius to something large like 10
3. add an autocast validator that is of type Combine, in it you'll have one validator that checks the behavior count so that the larva inject isn't present on the hatchery and another Combine validator that combines 'target unit is hatchery', 'target unit is lair', 'target unit is hive' validators with the "OR" setting.
You can leave out the lair and hive stuff if you don't use those in your map, obviously.
How to make queen to inject automaticly to the closes hatch ?
@xKennyx21: Go
If you ask me:
1. you set the ability to have Autocast and Autocast On checked in ability flags
2. set the autocast radius to something large like 10
3. add an autocast validator that is of type Combine, in it you'll have one validator that checks the behavior count so that the larva inject isn't present on the hatchery and another Combine validator that combines 'target unit is hatchery', 'target unit is lair', 'target unit is hive' validators with the "OR" setting.
You can leave out the lair and hive stuff if you don't use those in your map, obviously.
I tried and its not working . I didnt make the validator yet but I set the ability to auto cast and autocast on and its not working .
Edit : Probleme solved ! I had to put Auto Cast acquire level on : defensive
@xKennyx21:
From a data thread... no triggers needed.
XdRaGoNrIdDeRXx:
all you need is autocast on and the validator that is built in already.... 'Is Hatchery, lair, hive" and thats all you need.
Field Is Hatchery Lair Or Hive
Editor: Editor Name Is Hatchery Lair Or Hive
----