Difference between revisions of "VN fnc whitelisted arsenal vehicle eject"
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (1 revision imported) |
Lou Montana (talk | contribs) (Page filling) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{Function | {{Function | ||
|v= 1.00 | |v= 1.00 | ||
− | | | + | |author= Ethan Johnson |
− | |e= | + | |a= global |
+ | |||
+ | |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= [] 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> | + | |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;