Interactions inside vehicles. Skip the "Main Interactions" level; mount its children intead.

This commit is contained in:
esteldunedain 2015-04-20 18:24:12 -03:00
parent 66af69def8
commit 90288b495e

View File

@ -24,6 +24,10 @@ _actionTrees = missionNamespace getVariable [_varName, []];
_actions = [];
// Mount unit MainActions menu
_actions pushBack [(_actionTrees select 0) select 0, (_actionTrees select 0) select 1, _unit];
{
EXPLODE_2_PVT(_x,_actionData,_children);
_actions pushBack [_actionData, _children, _unit];
} forEach ((_actionTrees select 0) select 1);
_actions