Add warnings to deprecated functions

This commit is contained in:
esteldunedain 2016-01-18 19:53:48 -03:00 committed by PabstMirror
parent 7e84a9d9b0
commit 8e2d489312
4 changed files with 4 additions and 0 deletions

View File

@ -15,5 +15,6 @@
params ["_unit"];
//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

View File

@ -18,5 +18,6 @@
params ["_unit"];
//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

View File

@ -17,5 +17,6 @@
params ["_unit", "_reason", "_status"];
//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);

View File

@ -21,5 +21,6 @@
params ["_unit", "_reason", "_status"];
//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);