Difference between revisions of "VN fnc whitelisted arsenal vehicle eject"
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 6: | Line 5: | ||
|author= Ethan Johnson | |author= Ethan Johnson | ||
− | |a= | + | |a= global |
− | |e= | + | |e= global |
|g1= whitelisted_arsenal_functions | |g1= whitelisted_arsenal_functions | ||
− | |d= | + | |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. |
− | + | Should be used with the "GetInMan" & "SeatSwitchedMan" event handlers | |
− | |||
− | |||
− | + | |s= [vehicle] call [[VN_fnc_whitelisted_arsenal_vehicle_eject]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | |p1n= vehicle | |
− | + | |p1t= object | |
− | |p1n= | + | |p1d= vehicle the player has gotten into |
− | |p1t= | ||
− | |p1d= | ||
|p1v= | |p1v= | ||
Line 41: | Line 29: | ||
|r1d= | |r1d= | ||
− | |x1= <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 |
|
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;