Animation Question

Blitz3D Forums/Blitz3D Programming/Animation Question

I think im a bit closer but results arent as expected.
If i use for example

if entitydistance(man1,man2) > 100 then animate man1,1,1,1

I do get some response from this but it does not do what I expect. I would like the animation sequence to change when entities are within a certain distance of each other. Using the commands as above it sort of works but does the opposite of what I would expect. eg the animation sequence does change but cetainly not when the man is > 100 from the target.


Any ideas ?