Difference between revisions of "VN fnc whitelisted arsenal copilot check"
Jump to navigation
Jump to search
vn>Unknown user m (Generated by LM_exportFunctionsToWiki.sqf) |
Lou Montana (talk | contribs) (Page filling) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{Function | {{Function | ||
|v= 1.00 | |v= 1.00 | ||
− | | | + | |author= Ethan Johnson |
+ | |||
+ | |a= | ||
|e= | |e= | ||
Line 10: | Line 11: | ||
|g1= whitelisted_arsenal_functions | |g1= whitelisted_arsenal_functions | ||
− | |d= | + | |d= Check if the provided unit is in a co-pilot seat. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |s= [] call [[VN_fnc_whitelisted_arsenal_copilot_check]] | + | |s= [unit] call [[VN_fnc_whitelisted_arsenal_copilot_check]] |
− | |p1n= | + | |p1n= unit |
− | |p1t= | + | |p1t= object |
− | |p1d= | + | |p1d= checked unit |
|p1v= | |p1v= | ||
Line 36: | Line 25: | ||
|p2v= | |p2v= | ||
− | |r1t= | + | |r1t= boolean |
|r1d= | |r1d= | ||
− | |x1= <code> | + | |x1= <code>[player] call [[VN_fnc_whitelisted_arsenal_copilot_check]];</code> |
}} | }} |
Latest revision as of 22:57, 25 February 2021
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Ethan Johnson |
|
Description
Check if the provided unit is in a co-pilot seat.
Syntax
- Syntax
- [unit] call VN_fnc_whitelisted_arsenal_copilot_check
- Parameters
- unit: Object - checked unit
- Return value
- Boolean
Examples
- Example 1
[player] call VN_fnc_whitelisted_arsenal_copilot_check;