mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
a4d0af4b67
Could fix #1142
19 lines
384 B
Plaintext
19 lines
384 B
Plaintext
/*
|
|
* Author: Glowbal
|
|
* Check if vehicle is a medical vehicle
|
|
*
|
|
* Arguments:
|
|
* 0: The Vehicle <OBJECT>
|
|
*
|
|
* ReturnValue:
|
|
* Is in of medic class <BOOL>
|
|
*
|
|
* Public: Yes
|
|
*/
|
|
#include "script_component.hpp"
|
|
|
|
private ["_vehicle"];
|
|
_vehicle = _this select 0;
|
|
|
|
(_vehicle getVariable [QGVAR(medicClass), getNumber (configFile >> "CfgVehicles" >> typeOf _vehicle >> "attendant")]) > 0
|