mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Interactions inside vehicles. Skip the "Main Interactions" level; mount its children intead.
This commit is contained in:
parent
66af69def8
commit
90288b495e
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user