Difference between revisions of "VN fnc whitelisted arsenal copilot check"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "]]; |p1n=" to "]] |p1n=") |
Lou Montana (talk | contribs) (Page filling) |
||
Line 1: | Line 1: | ||
− | |||
{{Function | {{Function | ||
Line 12: | Line 11: | ||
|g1= whitelisted_arsenal_functions | |g1= whitelisted_arsenal_functions | ||
− | |d= | + | |d= Check if the provided unit is in a co-pilot seat. |
− | |||
− | |||
− | |||
− | + | |s= [unit] call [[VN_fnc_whitelisted_arsenal_copilot_check]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | |p1n= unit | |
− | + | |p1t= object | |
− | |p1n= | + | |p1d= checked unit |
− | |p1t= | ||
− | |p1d= | ||
|p1v= | |p1v= | ||
Line 38: | 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;