2023-09-12 18:58:10 +00:00
|
|
|
#include "..\script_component.hpp"
|
2015-04-16 16:14:32 +00:00
|
|
|
/*
|
|
|
|
* Author: Ruthberg
|
|
|
|
* Selects a target slot (A, B, C or D)
|
|
|
|
*
|
|
|
|
* Arguments:
|
|
|
|
* target <NUMBER>
|
|
|
|
*
|
|
|
|
* Return Value:
|
2017-06-08 13:31:51 +00:00
|
|
|
* None
|
2015-04-16 16:14:32 +00:00
|
|
|
*
|
|
|
|
* Example:
|
|
|
|
* 2 call ace_atragmx_fnc_change_target_slot
|
|
|
|
*
|
|
|
|
* Public: No
|
|
|
|
*/
|
|
|
|
|
2017-11-03 21:01:02 +00:00
|
|
|
GVAR(currentTarget) = 0 max _this min 3;
|
2015-04-16 16:14:32 +00:00
|
|
|
|
2017-11-03 21:01:02 +00:00
|
|
|
GVAR(targetRangeDirtyFlag) = true;
|
2015-04-16 16:14:32 +00:00
|
|
|
|
|
|
|
call FUNC(update_target_selection);
|
2016-11-02 12:56:59 +00:00
|
|
|
call FUNC(calculate_target_solution);
|