mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Building Interact - Dummy object instead of hiding
Fix #3038 InteractiMenu now checks `isObjectHidden`, So now use dummy object instead of hiding a real one
This commit is contained in:
parent
7258a0084a
commit
ff3ddbe287
@ -80,11 +80,10 @@ if ((vehicle ACE_player) != ACE_player) exitWith {};
|
||||
// systemChat format ["Add Actions for [%1] (count %2) @ %3", _typeOfHouse, (count _memPoints), diag_tickTime];
|
||||
{
|
||||
_helperPos = (_houseBeingScaned modelToWorld (_houseBeingScaned selectionPosition _x)) call EFUNC(common,positionToASL);
|
||||
_helperObject = "Sign_Sphere25cm_F" createVehicleLocal _helperPos;
|
||||
_helperObject = "ACE_LogicDummy" createVehicleLocal _helperPos;
|
||||
_addedHelpers pushBack _helperObject;
|
||||
_helperObject setVariable [QGVAR(building), _houseBeingScaned];
|
||||
_helperObject setPosASL _helperPos;
|
||||
_helperObject hideObject true;
|
||||
TRACE_3("Making New Helper",_helperObject,_x,_houseBeingScaned);
|
||||
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user