Jump to content
Sign in to follow this  
SkogUlv

Ordering a unit to a pos & catch arrival of dest.?

Recommended Posts

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.

Share this post


Link to post
Share on other sites

Thanks that helps quite alot , but of course I got another question on the same issue.

Now that I know how to check with unitReady, and I need to spawn say 500 of them .. Using a loop to test each individual would become a problem, any smarter way of doing so ?

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×