VN_fnc_vn_ch34_engineEH
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 |
|
Description
Disable CH-34 engine if the rotors are folded.
Syntax
- Syntax
- [vehicle, isEngineOn] call VN_fnc_vn_ch34_engineEH
- Parameters
- vehicle: Object - the CH-34
- isEngineOn: Boolean - isEngineOn value
- Return value
- Nothing
Examples
- Example 1
[sogCH34, isEngineOn sogCH34] call VN_fnc_vn_ch34_engineEH; // if the engine is on and the helicopter is packed, turns the engine off