I am very new to mapping and am having trouble getting sentries to auto-cast guardian shield. Right now they will use guardian shield perfectly but they are operating on one issued attack move command which occurs every 30 seconds. So when they cast guardian shield it removes that attack command and they just sit around doing nothing until the next timer.
One solution would be to simply issue the attack move command every second, but if I do this it would be 6 triggers setting variable unit groups and sending regions to attack every second. I simply am in the dark as whether that would be a problem or not. Should I be worried about slowdown on my map from running too many triggers simultaneously?
I think that trigger might cause lag that way... Why not simply use the event "Unit acquires targe", condition "Unit type of (triggering unit) == Sentry", and then order the triggering unit to cast guardian shield? That way everytime the sentry targets anything it will use guardian shield. Also, i believe that when ordering units, there's the option to "Replace existing commands" or something like that, click on it and set it to "Before current commands" or whatever it is called, that way it wont replace the attack command but qeue the attack command behind it. If that wont work, just add the attack action after the guardian shield action and make it "After existing orders", or whatever its called, if possible
I am very new to mapping and am having trouble getting sentries to auto-cast guardian shield. Right now they will use guardian shield perfectly but they are operating on one issued attack move command which occurs every 30 seconds. So when they cast guardian shield it removes that attack command and they just sit around doing nothing until the next timer.
One solution would be to simply issue the attack move command every second, but if I do this it would be 6 triggers setting variable unit groups and sending regions to attack every second. I simply am in the dark as whether that would be a problem or not. Should I be worried about slowdown on my map from running too many triggers simultaneously?
I think that trigger might cause lag that way... Why not simply use the event "Unit acquires targe", condition "Unit type of (triggering unit) == Sentry", and then order the triggering unit to cast guardian shield? That way everytime the sentry targets anything it will use guardian shield. Also, i believe that when ordering units, there's the option to "Replace existing commands" or something like that, click on it and set it to "Before current commands" or whatever it is called, that way it wont replace the attack command but qeue the attack command behind it. If that wont work, just add the attack action after the guardian shield action and make it "After existing orders", or whatever its called, if possible
Hope what i said made sense and helped :)
That worked perfectly, thank you for the help. I really need to learn about conditions, I don't use them half as often as I should.