VN_ms_module_fnc_vehicleRespawn_isAbandoned

From Savage Game Design Wiki
Jump to navigation Jump to search
← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Wyqer, veteran29
Argument(s): global
Effect(s): unknown

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;