SkogUlv
Dec 14 2006, 20:10
I'm working bit on some theory here and need some input.
I can make a unit go from wherever to a new location in different ways, but whats the best method / combination to send a unit from a location to another location AND then react with another script WHEN the unit reaches his destination?
What I need todo is remove the unit when he have reached his destination (and preferably also if he CANT reach his destination).
I could use waypoints in the editor but thats a no good for this purpose as I need to move them using a script to all sorts of positions.
I can make a unit go from wherever to a new location in different ways, but whats the best method / combination to send a unit from a location to another location AND then react with another script WHEN the unit reaches his destination?
What I need todo is remove the unit when he have reached his destination (and preferably also if he CANT reach his destination).
I could use waypoints in the editor but thats a no good for this purpose as I need to move them using a script to all sorts of positions.