mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fortify - Use ACEX-prefixed event names (#8553)
This commit is contained in:
parent
38b8b5dfff
commit
73be44fbbf
@ -2,7 +2,7 @@
|
||||
|
||||
if (isServer) then {
|
||||
[QGVAR(registerObjects), LINKFUNC(registerObjects)] call CBA_fnc_addEventHandler;
|
||||
[QGVAR(objectPlaced), {
|
||||
[QXGVAR(objectPlaced), {
|
||||
params ["_unit", "_side", "_object"];
|
||||
TRACE_3("objectPlaced",_unit,_side,_object);
|
||||
private _jipID = [QGVAR(addActionToObject), [_side, _object]] call CBA_fnc_globalEventJIP;
|
||||
@ -49,7 +49,7 @@ GVAR(objectRotationZ) = 0;
|
||||
params ["_target", "_player", "_params"];
|
||||
_params params ["_side"];
|
||||
TRACE_2("deleting placed object",_target,_params);
|
||||
[QGVAR(objectDeleted), [_player, _side, _target]] call CBA_fnc_globalEvent;
|
||||
[QXGVAR(objectDeleted), [_player, _side, _target]] call CBA_fnc_globalEvent;
|
||||
deleteVehicle _target;
|
||||
_params call FUNC(updateBudget);
|
||||
},
|
||||
|
@ -35,7 +35,7 @@ _newObject setPosASL _posASL;
|
||||
_newObject setVectorDirAndUp [_vectorDir, _vectorUp];
|
||||
|
||||
// Server will use this event to run the jip compatible QGVAR(addActionToObject) event
|
||||
[QGVAR(objectPlaced), [_unit, _side, _newObject]] call CBA_fnc_globalEvent;
|
||||
[QXGVAR(objectPlaced), [_unit, _side, _newObject]] call CBA_fnc_globalEvent;
|
||||
|
||||
if (cba_events_control) then {
|
||||
// Re-run if ctrl key held
|
||||
|
@ -43,7 +43,7 @@ private _icons = [["alt", localize "str_3den_display3den_entitymenu_movesurface_
|
||||
[_lmb, _rmb, _wheel, _icons] call EFUNC(interaction,showMouseHint);
|
||||
|
||||
private _mouseClickID = [_player, "DefaultAction", {GVAR(isPlacing) == PLACE_WAITING}, {GVAR(isPlacing) = PLACE_APPROVE}] call EFUNC(common,addActionEventHandler);
|
||||
[QGVAR(onDeployStart), [_player, _object, _cost]] call CBA_fnc_localEvent;
|
||||
[QXGVAR(onDeployStart), [_player, _object, _cost]] call CBA_fnc_localEvent;
|
||||
|
||||
[{
|
||||
params ["_args", "_pfID"];
|
||||
|
Loading…
Reference in New Issue
Block a user