ACE3/addons/atragmx/functions/fnc_cycle_scope_unit.sqf
2015-04-08 11:05:28 +02:00

9 lines
260 B
Plaintext

#include "script_component.hpp"
[] call FUNC(parse_input);
GVAR(currentScopeUnit) set [GVAR(currentTarget), ((GVAR(currentScopeUnit) select GVAR(currentTarget)) + 1) % (count GVAR(scopeUnits))];
[] call FUNC(update_scope_unit);
[] call FUNC(update_result);