I was just wondering if there is any way to get a variable index using a GUI action?
I'm using circle of powers as checkpoints for my AoS and they all have a set variable index, LeftLane [1-5], MiddleLane [1-5] and RightLane [1-5].
I'm currently using the well known system of:
Unit comes within 5 of XXXLane [X] -->
Set Custom Value of Unit to ((Custom Value of Unit) + 1) -->
Order (Triggering Unit) to move to XXXLane [Custom Value of Unit]
Even if it is simple, wouldn't it be easier to make something like:
Unit comes within 5 of XXXLane [X] -->
Order (Triggering Unit) to move to (Index value of (Triggering Variable) + 1)
I guess it is doable in JASS (no experience of it though), but is it doable in GUI?
The reason why I'm looking for this kind of solution is because a trigger was malfunctioning (it used unit custom values too).
I'm using circle of powers as checkpoints for my AoS and they all have a set variable index, LeftLane [1-5], MiddleLane [1-5] and RightLane [1-5].
I'm currently using the well known system of:
Unit comes within 5 of XXXLane [X] -->
Set Custom Value of Unit to ((Custom Value of Unit) + 1) -->
Order (Triggering Unit) to move to XXXLane [Custom Value of Unit]
Even if it is simple, wouldn't it be easier to make something like:
Unit comes within 5 of XXXLane [X] -->
Order (Triggering Unit) to move to (Index value of (Triggering Variable) + 1)
I guess it is doable in JASS (no experience of it though), but is it doable in GUI?
The reason why I'm looking for this kind of solution is because a trigger was malfunctioning (it used unit custom values too).