Difference between revisions of "VN fnc vn ch34 engineEH"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " |a= " to " |author= ") |
Lou Montana (talk | contribs) (Page filling) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{Function | {{Function | ||
Line 5: | Line 4: | ||
|author= | |author= | ||
+ | |||
+ | |a= | ||
|e= | |e= | ||
Line 10: | Line 11: | ||
|g1= functions | |g1= functions | ||
− | |d= | + | |d= Disable CH-34 engine if the rotors are folded. |
− | |||
− | |s= [] call [[VN_fnc_vn_ch34_engineEH]] | + | |s= [vehicle, isEngineOn] call [[VN_fnc_vn_ch34_engineEH]] |
− | |p1n= | + | |p1n= vehicle |
− | |p1t= | + | |p1t= object |
− | |p1d= | + | |p1d= the CH-34 |
|p1v= | |p1v= | ||
− | |p2n= | + | |p2n= isEngineOn |
− | |p2t= | + | |p2t= boolean |
− | |p2d= | + | |p2d= {{Biki|isEngineOn}} value |
|p2v= | |p2v= | ||
Line 28: | Line 28: | ||
|r1d= | |r1d= | ||
− | |x1= <code> | + | |x1= <code>[sogCH34, isEngineOn sogCH34] call [[VN_fnc_vn_ch34_engineEH]]; {{cc|if the engine is on and the helicopter is packed, turns the engine off}}</code> |
}} | }} |
Latest revision as of 12:28, 22 February 2021
← 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