Hey, I'm making a map at the moment that is similar to Castle Fight, in that you make buildings and they train automatically, only in this map its an open map where the rally points of your buildings is the destination, and you control resource nodes and such.
My problem is, I want some of my units to have triggered abilities, and that's all well and good, but if I order them to do something with the trigger, they'll lose their movement destination. Is there any way for me to make it so it sort of saves the point they are traveling to (the rally point of the building that trained them) so they will continue attack-moving there after the spellcast? I will accept GUI or Jass helpings, though I'm not familiar enough with Jass to make it myself.
Also one other minor problem, is there a way to make every building that has a point value of 3 (all unit-trainer buildings are gonna have 3 pointvalue) so that every 5 seconds they train whatever unit they have available? I know how to make them train every 5 seconds and all, but for the train a unit trigger it doesn't have any options like 'any unit that it can train" so id have to make an individual trigger or action type thing for each type of building that trains units.
My problem is, I want some of my units to have triggered abilities, and that's all well and good, but if I order them to do something with the trigger, they'll lose their movement destination. Is there any way for me to make it so it sort of saves the point they are traveling to (the rally point of the building that trained them) so they will continue attack-moving there after the spellcast? I will accept GUI or Jass helpings, though I'm not familiar enough with Jass to make it myself.
Also one other minor problem, is there a way to make every building that has a point value of 3 (all unit-trainer buildings are gonna have 3 pointvalue) so that every 5 seconds they train whatever unit they have available? I know how to make them train every 5 seconds and all, but for the train a unit trigger it doesn't have any options like 'any unit that it can train" so id have to make an individual trigger or action type thing for each type of building that trains units.