Difference between revisions of "VN fnc whitelisted arsenal copilot check"

From Savage Game Design Wiki
Jump to navigation Jump to search
vn>Unknown user
m (Generated by LM_exportFunctionsToWiki.sqf)
 
(Page filling)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
 
{{Function
 
{{Function
  
 
|v= 1.00
 
|v= 1.00
  
|a= Ethan Johnson
+
|author= Ethan Johnson
 +
 
 +
|a=
  
 
|e=
 
|e=
Line 10: Line 11:
 
|g1= whitelisted_arsenal_functions
 
|g1= whitelisted_arsenal_functions
  
|d= <pre>/*
+
|d= Check if the provided unit is in a co-pilot seat.
        FILE: fn_whitelisted_arsenal_copilot_check.sqf
 
        DATE: 28-05-2019
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Check to see if the unit is in a co-pilot seat of a vehicle.
 
        PARAMETERS:
 
                (0): OBJECT - Unit that should be used in the check.
 
        RETURNS:
 
                BOOLEAN
 
*/
 
</pre><small>''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''</small>
 
  
|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>-</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
Argument(s): n/a
Effect(s): unknown

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;