- Joined
- Jul 30, 2018
- Messages
- 445
Hey!
This, yet again, may seem a stupid question, but is there way to save a summoned ward (like Healing Ward or Serpent Ward) to Variable for later use? With a typical spell I can save (casting unit) and (target unit of ability being cast) but with Healing Ward and Serpent Ward spells target unit doesn't seem to refer to the summoned Ward. (summoned unit) doesn't work either. So far I've been using a temporary workaround (Random unit from (Units within 600.00 of (Position of (Casting unit)) matching ((Unit-type of (Matching unit)) Equal to Healing Ward))), but this has the problem that if there are multiple Healing Wards, it could pick any of them.
Okay, so now I made a second trigger with event unit entering a region and then I save the entering unit. This seems to work and catch the correct Ward, even if there were already existing Wards. However, is there a way to make this all in one trigger? Seems kinda silly to make two triggers for such a simple thing...
This, yet again, may seem a stupid question, but is there way to save a summoned ward (like Healing Ward or Serpent Ward) to Variable for later use? With a typical spell I can save (casting unit) and (target unit of ability being cast) but with Healing Ward and Serpent Ward spells target unit doesn't seem to refer to the summoned Ward. (summoned unit) doesn't work either. So far I've been using a temporary workaround (Random unit from (Units within 600.00 of (Position of (Casting unit)) matching ((Unit-type of (Matching unit)) Equal to Healing Ward))), but this has the problem that if there are multiple Healing Wards, it could pick any of them.
Okay, so now I made a second trigger with event unit entering a region and then I save the entering unit. This seems to work and catch the correct Ward, even if there were already existing Wards. However, is there a way to make this all in one trigger? Seems kinda silly to make two triggers for such a simple thing...
Last edited: