mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Add warnings to deprecated functions
This commit is contained in:
parent
7e84a9d9b0
commit
8e2d489312
@ -15,5 +15,6 @@
|
|||||||
params ["_unit"];
|
params ["_unit"];
|
||||||
|
|
||||||
//Now just a wrapper for FUNC(statusEffect_get)
|
//Now just a wrapper for FUNC(statusEffect_get)
|
||||||
|
ACE_DEPRECATED("ace_common_fnc_getCaptivityStatus","3.6.0","ace_common_fnc_statusEffect_get");
|
||||||
|
|
||||||
([player, "setCaptive"] call FUNC(statusEffect_get)) select 1
|
([player, "setCaptive"] call FUNC(statusEffect_get)) select 1
|
||||||
|
@ -18,5 +18,6 @@
|
|||||||
params ["_unit"];
|
params ["_unit"];
|
||||||
|
|
||||||
//Now just a wrapper for FUNC(statusEffect_get)
|
//Now just a wrapper for FUNC(statusEffect_get)
|
||||||
|
ACE_DEPRECATED("ace_common_fnc_getForceWalkStatus","3.6.0","ace_common_fnc_statusEffect_get");
|
||||||
|
|
||||||
([player, "forceWalk"] call FUNC(statusEffect_get)) select 1
|
([player, "forceWalk"] call FUNC(statusEffect_get)) select 1
|
||||||
|
@ -17,5 +17,6 @@
|
|||||||
params ["_unit", "_reason", "_status"];
|
params ["_unit", "_reason", "_status"];
|
||||||
|
|
||||||
//Now just a wrapper for FUNC(statusEffect_set)
|
//Now just a wrapper for FUNC(statusEffect_set)
|
||||||
|
ACE_DEPRECATED("ace_common_fnc_setCaptivityStatus","3.6.0","ace_common_fnc_statusEffect_set");
|
||||||
|
|
||||||
[_unit, "setCaptive", _reason, _status] call FUNC(statusEffect_set);
|
[_unit, "setCaptive", _reason, _status] call FUNC(statusEffect_set);
|
||||||
|
@ -21,5 +21,6 @@
|
|||||||
params ["_unit", "_reason", "_status"];
|
params ["_unit", "_reason", "_status"];
|
||||||
|
|
||||||
//Now just a wrapper for FUNC(statusEffect_set)
|
//Now just a wrapper for FUNC(statusEffect_set)
|
||||||
|
ACE_DEPRECATED("ace_common_fnc_setForceWalkStatus","3.6.0","ace_common_fnc_statusEffect_set");
|
||||||
|
|
||||||
[_unit, "forceWalk", _reason, _status] call FUNC(statusEffect_set);
|
[_unit, "forceWalk", _reason, _status] call FUNC(statusEffect_set);
|
||||||
|
Loading…
Reference in New Issue
Block a user