Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
gitrinec

[SOLVED] Is a unit's distance from an object measurable during a walking animation?

Recommended Posts

If a unit is in a walking animation toward an object, is the distance between the two objects measurable?  I've tried _meters = _unit1 distance _unit2  but the number never changes in the while loop if the unit is in an animation moving forward. Also does forceweaponfire break out of an the animation instead of firing during the animation? 

 

If you attach a dummy unit then you can read the distance while the walking animation is playing, if it's in a loop getting updated. No forceweaponfire doesnt break a unit  out of  a walking animation. I'll post code later.

 

 

 

Edited by gitrinec
Solved the question

Share this post


Link to post
Share on other sites
Sign in to follow this  

×