![]() |
Fuel Amount
How can I check the amount of fuel a plane (player or AI) has from script?
|
yes, during flight or getting ready to take off, or land. I need to "check" the amount of fuel, not set it.
|
Fuel:
Code:
(actor as AiAircraft).getParameter(part.ParameterTypes.S_FuelReserve, -1) double getParameter(part.ParameterTypes type, int subtype) Member von maddox.game.world.AiAircraft ParameterTypes: Code:
Nil |
Thanks Kodiak, that's exactly what I am looking for.
|
All times are GMT. The time now is 12:22 AM. |
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.