mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
18 lines
353 B
Plaintext
18 lines
353 B
Plaintext
#include "script_component.hpp"
|
|
|
|
params ["_vehicle"];
|
|
|
|
if (_vehicle isKindOf "Helicopter") exitWith {
|
|
[GVAR(heliSpeed), QGVAR(heliSpeed)]
|
|
};
|
|
|
|
if (_vehicle isKindOf "Plane") exitWith {
|
|
[GVAR(planeSpeed), QGVAR(planeSpeed)]
|
|
};
|
|
|
|
if (_vehicle isKindOf "Ship") exitWith {
|
|
[GVAR(seaSpeed), QGVAR(seaSpeed)]
|
|
};
|
|
|
|
[GVAR(landSpeed), QGVAR(landSpeed)]
|