Variable for distance checking

spotlope

FSDevConf team
Hi Arno,

I don't know if this is possible or not, but could you add a variable or method for checking the position of the user's aicraft for use in opening hangar doors? I'm thinking of the equivalent of "ifInBox" in SCASM, although I'm not sure if there's an ASM analog to that. (I'm speaking of the next version for FS9, by the way).

thanks,
Bill
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Hi Bill,

I think this can already be done by using the distance along x, y and z variables (the ones including 037E). As long as your doors are aligned with one of the axes, you can trigger it with the distance along such an axis.

I think it would be hard to build in a function like IfInBox, because that would require not only a different variable, but also a different command.
 
Top