mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Add store new helper object
Fixes an issue were you end up with many helper objects that are not cleaned up
This commit is contained in:
parent
d5f8d965f3
commit
05aac2d223
@ -34,6 +34,8 @@ _helperObject = "ACE_LogicDummy" createVehicleLocal (getPos _unit);
|
||||
|
||||
if !(isNull _helperObject) then {
|
||||
_helperObject attachto [_unit,[0,0,-3],""];
|
||||
_unit setvariable [QGVAR(helperLogic), _helperObject];
|
||||
|
||||
[_helperObject, _unit] say3D _detectorSound;
|
||||
} else {
|
||||
ACE_LOGERROR_1("helper does not exist [%1]",_helperObject);
|
||||
|
Loading…
Reference in New Issue
Block a user