A plane is going to be landing, and when it gets to a certain point where i have a trigger placed, will it execute a script...
This script needs to ceck the Height of the plane, and the velocity....
and if the plane is going less than 50, and its height is less than five,
it executes another script.....
_plane = _this select 0
_zpos = (getPos _plane) select 2
? (!_zpos<5) : goto "speedcheck"
i dont know how the _z<5 syntax should be
So #speedcheck will check the speed and if that works to then the script will execute my other script....
I guess in OFP we can't check the speed, but have to use velocity based on x,y,z, so the plane will be landing from left to right, if you are looking at the mission editor....
So i believe the x velocity will need to be faster than -50
so if the planes x velocity is -20 it will go on to exec my next script
Catch My Drift?
Anyone know? thank you!