From 1c7a06c69a5630fa7dc756e0152be3348b480271 Mon Sep 17 00:00:00 2001 From: jaynus Date: Tue, 12 May 2015 10:30:14 -0700 Subject: [PATCH] Add vehicle ID to animation state send. --- addons/vehicledamage/functions/fnc_getAnimationStates.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/vehicledamage/functions/fnc_getAnimationStates.sqf b/addons/vehicledamage/functions/fnc_getAnimationStates.sqf index 8c64fcca4e..15f22510b1 100644 --- a/addons/vehicledamage/functions/fnc_getAnimationStates.sqf +++ b/addons/vehicledamage/functions/fnc_getAnimationStates.sqf @@ -33,7 +33,7 @@ TRACE_1("Returning", _animationResults); if(_sendToExtension) then { private["_cmd"]; - _cmd = "set_animation_state:"; + _cmd = format["set_animation_state:%1,", (_vehicle getVariable[QGVAR(id), -1])]; { _cmd = _cmd + format["%1,%2,", (_x select 0), ([(_x select 1)] call CBA_fnc_formatNumber)]; } forEach _animationResults;