ACE3/addons/atragmx/functions/fnc_cycle_target_speed_direction.sqf
2020-04-25 08:41:45 +02:00

23 lines
360 B
Plaintext

#include "script_component.hpp"
/*
* Author: Ruthberg
* Cycles through the target directions left/right
*
* Arguments:
* None
*
* Return Value:
* None
*
* Example:
* call ace_atragmx_fnc_cycle_target_speed_direction
*
* Public: No
*/
if ((ctrlText 140051) == ">") then {
ctrlSetText [140051, "<"];
} else {
ctrlSetText [140051, ">"];
};