I'm a GUI user and I've had trouble being patient with learning JASS, I'll get around to it one of these days but for the moment, I really need one of those vJass structs or whatever their called. I asked on a different section of this forum how to do it and donut3.5 said a struct.
So, my request is, could anyone make a struct that would save a unit's destination? For my instance, it's a castle-fight style game, only with the whole map as your battlefield on an epic sized map. The units are trained from the buildings, so they automatically go towards the building's rally point. What I need, is to be able to trigger those unit's abilities (for example, make one unit summon another unit when it is attacked, using a GUI trigger).
The trigger part is easy, but after it does the spell, it won't have any orders and it'll stop moving towards the rally point destination. I need to be able to tell him to attack-move to his rally point destination after casting, is there any way to do that?
Request:
A GUI or Jass trigger that stores a unit's destination so that it can be made to attack-move there after casting or taking orders.
So, my request is, could anyone make a struct that would save a unit's destination? For my instance, it's a castle-fight style game, only with the whole map as your battlefield on an epic sized map. The units are trained from the buildings, so they automatically go towards the building's rally point. What I need, is to be able to trigger those unit's abilities (for example, make one unit summon another unit when it is attacked, using a GUI trigger).
The trigger part is easy, but after it does the spell, it won't have any orders and it'll stop moving towards the rally point destination. I need to be able to tell him to attack-move to his rally point destination after casting, is there any way to do that?
Request:
A GUI or Jass trigger that stores a unit's destination so that it can be made to attack-move there after casting or taking orders.