Jump to content
Sign in to follow this  
uiox

Problem with command "distance"

Recommended Posts

With 1.75 I have problem with the command distance

With this

_Dist = unit1 distance unit2

'_Dist = unit1 I#Idistance unit2': Error unknown operator distance

Share this post


Link to post
Share on other sites

I heard of a similar problem; that guy has used distance as a variable, and then he tried to use it as a function and since resistance there is an automatic variable/function detection to keep old missions playable that use variable names that are reserved for Resi functions.

Perhaps you did in your code somewhere by accident

distance = 50

or

?distance = 50: blabla

And therefore used distance as a variable!

Share this post


Link to post
Share on other sites

Again this is more a ME question smile.gif

Moving to ME.

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  

×