mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Add vehicle ID to animation state send.
This commit is contained in:
parent
30c84efe61
commit
1c7a06c69a
@ -33,7 +33,7 @@ TRACE_1("Returning", _animationResults);
|
|||||||
if(_sendToExtension) then {
|
if(_sendToExtension) then {
|
||||||
private["_cmd"];
|
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)];
|
_cmd = _cmd + format["%1,%2,", (_x select 0), ([(_x select 1)] call CBA_fnc_formatNumber)];
|
||||||
} forEach _animationResults;
|
} forEach _animationResults;
|
||||||
|
Loading…
Reference in New Issue
Block a user