Difference between revisions of "VN ms module fnc vehicleRespawn isAbandoned"
Jump to navigation
Jump to search
vn>Unknown user m (Generated by LM_exportFunctionsToWiki.sqf) |
Lou Montana (talk | contribs) (Page filling) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{{Function | {{Function | ||
|v= 1.00 | |v= 1.00 | ||
− | | | + | |author= Wyqer, veteran29 |
+ | |||
+ | |a= global | ||
|e= | |e= | ||
Line 10: | Line 11: | ||
|g1= VehicleRespawn | |g1= VehicleRespawn | ||
− | |d= | + | |d= Checks if vehicle is abandoned. |
− | |||
− | |||
− | + | |s= [vehicle, distance, disabledCounts] call [[VN_ms_module_fnc_vehicleRespawn_isAbandoned]] | |
− | |||
− | + | |p1n= vehicle | |
− | + | |p1t= object | |
− | + | |p1d= vehicle to check | |
− | + | |p1v= | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | + | |p2n= distance |
− | + | |p2t= number | |
− | + | |p2d= distance to check | |
− | | | + | |p2v= 1000 |
− | | | ||
− | | | ||
− | | | + | |p3n= disabledCounts |
− | | | + | |p3t= boolean |
− | | | + | |p3d= should immobilized vehicles count as abandoned |
− | | | + | |p3v= true |
− | |r1t= | + | |r1t= boolean |
− | |r1d= | + | |r1d= is the vehicle abandoned |
− | |x1= <code> | + | |x1= <code>[sogJeep, 500, true] call [[VN_ms_module_fnc_vehicleRespawn_isAbandoned]];</code> |
}} | }} |
Latest revision as of 19:45, 26 February 2021
← back to Functions | Introduced in S.O.G. Prairie Fire v1.00 by Wyqer, veteran29 |
|
Description
Checks if vehicle is abandoned.
Syntax
- Syntax
- [vehicle, distance, disabledCounts] call VN_ms_module_fnc_vehicleRespawn_isAbandoned
- Parameters
- vehicle: Object - vehicle to check
- distance: Number - (Optional, default
1000
) distance to check - disabledCounts: Boolean - (Optional, default
true
) should immobilized vehicles count as abandoned - Return value
- Boolean - is the vehicle abandoned
Examples
- Example 1
[sogJeep, 500, true] call VN_ms_module_fnc_vehicleRespawn_isAbandoned;