KTM_Calle 0 Posted January 31, 2004 Would it be possible to get a script that detects a vehicles altitude? Like when i get down to +1 m above sea, the script could activate? Share this post Link to post Share on other sites
Taurus 20 Posted January 31, 2004 Would it be possible to get a script that detects a vehicles altitude? Like when i get down to +1 m above sea, the script could activate? Â ?(getPos yourVehicle select 2)<=1 Would do I think. Share this post Link to post Share on other sites
iNeo 0 Posted January 31, 2004 Would it be possible to get a script that detects a vehicles altitude? Like when i get down to +1 m above sea, the script could activate? Â ?(getPos yourVehicle select 2)<=1 Would do I think. That would do to get the height over the ground that's just underneath his feet. If you want it to give true over sea level, I believe you can place a logic on the ocean and then use sin/cos/tan calculations to get the height. I think I asked a similar question and denoir gave me a script, but I can't find it. Share this post Link to post Share on other sites
Taurus 20 Posted January 31, 2004 That would do to get the height over the ground that's just underneath his feet. Yes ofcourse, I forgot that Good luck finding the script Share this post Link to post Share on other sites
Migebuff 0 Posted January 31, 2004 a="EmptyDetector" camcreate [0,0,0] a setpos [getpos player select 0, getpos player select 1, 0]; _ASL = a distance player hint format ["%1", _ASL] Share this post Link to post Share on other sites
iNeo 0 Posted February 1, 2004 Gnat @ Feb. 01 2004,13:54)]Height There it is ...where did I get sin/cos/tan from Share this post Link to post Share on other sites