mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Replaced execRemoteFnc by ACE event system
This commit is contained in:
parent
278f0ab889
commit
37031b5002
@ -158,3 +158,6 @@ GVAR(OldPlayerTurret) = [ACE_player] call FUNC(getTurretIndex);
|
||||
PARAMS_2(_vehicle,_fuelLevel);
|
||||
_vehicle setFuel _fuelLevel;
|
||||
}] call FUNC(addEventhandler);
|
||||
|
||||
["displayTextStructured", FUNC(displayTextStructured)] call FUNC(addEventhandler);
|
||||
["displayTextPicture", FUNC(displayTextPicture)] call FUNC(addEventhandler);
|
||||
|
@ -21,9 +21,6 @@ _imageColor = if (count _this > 2) then {_this select 2} else {[1,1,1]};
|
||||
_imageColor resize 3;
|
||||
_target = if (count _this > 3) then {_this select 3} else {ACE_player};
|
||||
|
||||
if (!local _target && {_target != ACE_player}) exitwith {
|
||||
[_this, QUOTE(DFUNC(displayTextPicture)), _target] call FUNC(execRemoteFnc);
|
||||
};
|
||||
if (_target != ACE_player) exitWith {};
|
||||
|
||||
if (typeName _text != "TEXT") then {
|
||||
|
@ -18,9 +18,6 @@ _text = _this select 0;
|
||||
_size = if (count _this > 1) then {_this select 1} else {0.1;};
|
||||
_target = if (count _this > 2) then {_this select 2} else {ACE_player};
|
||||
|
||||
if (!local _target && {_target != ACE_player}) exitwith {
|
||||
[_this, QUOTE(DFUNC(displayTextStructured)), _target] call FUNC(execRemoteFnc);
|
||||
};
|
||||
if (_target != ACE_player) exitWith {};
|
||||
|
||||
if (typeName _text != "TEXT") then {
|
||||
|
Loading…
Reference in New Issue
Block a user