2015-04-11 21:40:46 +00:00
|
|
|
/*
|
|
|
|
* Author: Ruthberg
|
|
|
|
* Cycles through the scope units
|
|
|
|
*
|
|
|
|
* Arguments:
|
2017-06-08 13:31:51 +00:00
|
|
|
* None
|
2015-04-11 21:40:46 +00:00
|
|
|
*
|
|
|
|
* Return Value:
|
2017-06-08 13:31:51 +00:00
|
|
|
* None
|
2015-04-11 21:40:46 +00:00
|
|
|
*
|
|
|
|
* Example:
|
2016-07-20 04:15:18 +00:00
|
|
|
* call ace_atragmx_fnc_cycle_scope_unit
|
2015-04-11 21:40:46 +00:00
|
|
|
*
|
|
|
|
* Public: No
|
|
|
|
*/
|
2015-04-06 13:51:59 +00:00
|
|
|
#include "script_component.hpp"
|
|
|
|
|
2015-04-16 16:14:32 +00:00
|
|
|
GVAR(currentScopeUnit) = (GVAR(currentScopeUnit) + 1) % (count GVAR(scopeUnits));
|
2015-04-21 13:01:23 +00:00
|
|
|
GVAR(workingMemory) set [6, GVAR(currentScopeUnit)];
|
2015-04-06 13:51:59 +00:00
|
|
|
|
2016-11-02 12:56:59 +00:00
|
|
|
true call FUNC(show_main_page);
|
|
|
|
|
2015-04-06 18:46:33 +00:00
|
|
|
[] call FUNC(update_scope_unit);
|
|
|
|
[] call FUNC(update_result);
|