mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
24 lines
520 B
Plaintext
24 lines
520 B
Plaintext
/*
|
|
* Author: PabstMirror, commy2
|
|
* Returns reasons why the unit is forceWalk-ing.
|
|
*
|
|
* Arguments:
|
|
* 0: unit <OBJECT>
|
|
*
|
|
* Return Value:
|
|
* Force Walk reasons <ARRAY>
|
|
*
|
|
* Example:
|
|
* [ACE_Player] call ace_common_fnc_getForceWalkStatus
|
|
*
|
|
* Public: Yes
|
|
*/
|
|
#include "script_component.hpp"
|
|
|
|
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
|