Advanced Coordinates Instructions (ACI)

If you liked this item, please rate it up on Steam Workshop page.

Author: Kadarian

Last revision: 26 Aug, 2023 at 21:56 UTC

File size: 3.07 KB

On Steam Workshop

Description:

Advanced Coordinates Instructions (ACI) adds a set of instructions to work with coordinates and range.

This mod adds the following instructions :
– Split Coordinates : split the given coordinate (or the coordinate of the given entity) into two value (one for the x axis and one for th y axis).
– Assemble Coordinates : the opposite of the split coordinates, the instruction rebuild a set of coordinates from the x and y axis values.
– Is in Range : split into two different path depending on whether the origin (self if none specified) is in range of the target or not.
– Move Out of Range : move the current unit out of the given range from the target.
– Move To Coordinates : move the current unit to the given coordinates. A optionnal range can be specified.
– Move To Range : move the unit at the given range (whether the unit is already within range or not).
– Move Within Range : move the current unit within the specified range of the target.

In any case, any contructive feedback is appreciated and i hope this will help you control your bots more easily !

PS : While working on this mod I discovered that you can actually move within range of an entity in the current state of the game… However it’s not intuitive at all :
– First you need to use the Set Number instruction and set the range value you want on the Num/Coord entry,
– Then write the result to the variable that contains the target coordinates/entity,
– Finally use the Move Unit instruction with the previous result as an entry (obvious right ?).