![]() |
|
#1
|
|||
|
|||
![]()
For IsAirborne you can make your own
Simply check: (actor as AiAircraft).getParameter(part.ParameterTypes.Z_Alt itudeAGL, -1) (actor as AiAircraft).getParameter(part.ParameterTypes.Z_Vel ocityTAS, -1) First is Height over Ground, Second is True Airspeed in m/sec. So if for exampe Code:
(actor as AiAircraft).getParameter(part.ParameterTypes.Z_AltitudeAGL, -1) <= 1.0 Code:
(actor as AiAircraft).getParameter(part.ParameterTypes.Z_VelocityTAS, -1) <= 1.0 For checking if plane is Damaged you can use Code:
(actor as AiAircraft).getParameter(part.ParameterTypes.M_Health, -1) Last edited by FG28_Kodiak; 05-25-2012 at 07:25 AM. |
#2
|
|||
|
|||
![]()
soudns amazing. so i can actually get in flight parameters fo the planes? that could be usefull for a lot of stuff!
i will work furthter on this tomorrow, no time today... ![]() is the 1.0 in meters and killometers? on the check speed and altitude? also does Quote:
thanks Kodiak, |
#3
|
|||
|
|||
![]()
meters, all return values are metric
|
![]() |
Thread Tools | |
Display Modes | |
|
|