Difference between revisions of "VN fnc whitelisted arsenal vehicle eject"

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
  
|e=
+
|a= global
 +
 
 +
|e= global
  
 
|g1= whitelisted_arsenal_functions
 
|g1= whitelisted_arsenal_functions
  
|d= <pre>/*
+
|d= Gets the vehicle the player has gotten into and checks it against the vehicles for their current rank and ejects the unit if needed.
        FILE: fn_whitelisted_arsenal_vehicle_eject.sqf
+
Should be used with the "GetInMan" & "SeatSwitchedMan" event handlers
        DATE: 28-05-2019
 
        AUTHOR: Ethan Johnson
 
 
 
        DESCRIPTION:
 
                Gets the vehicle the unit has gotten into and checks it against the vehicles for their current rank.
 
        PARAMETERS:
 
                (0): OBJECT - Vehicle the player has gotten into. Should be used with the "GetInMan" & "SeatSwitchedMan" event handlers
 
        RETURNS:
 
                NONE
 
*/
 
</pre><small>''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''</small>
 
  
|s= [] call [[VN_fnc_whitelisted_arsenal_vehicle_eject]];
+
|s= [vehicle] call [[VN_fnc_whitelisted_arsenal_vehicle_eject]]
  
|p1n=
+
|p1n= vehicle
|p1t=
+
|p1t= object
|p1d=
+
|p1d= vehicle the player has gotten into
 
|p1v=
 
|p1v=
  
Line 39: Line 29:
 
|r1d=
 
|r1d=
  
|x1= <code>-</code>
+
|x1= <code>[sogJeep] call [[VN_fnc_whitelisted_arsenal_vehicle_eject]];</code>
 
}}
 
}}

Latest revision as of 22:48, 25 February 2021

← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Ethan Johnson
Argument(s): global
Effect(s): global

Description

Gets the vehicle the player has gotten into and checks it against the vehicles for their current rank and ejects the unit if needed. Should be used with the "GetInMan" & "SeatSwitchedMan" event handlers

Syntax

Syntax
[vehicle] call VN_fnc_whitelisted_arsenal_vehicle_eject
Parameters
vehicle: Object - vehicle the player has gotten into
Return value
Nothing

Examples

Example 1
[sogJeep] call VN_fnc_whitelisted_arsenal_vehicle_eject;