Some units have their own AI, where if they're set to follow a unit, they'd automatically attack or do whatever when the unit it follows either stops, or attacks (assuming there are units around). These only work for automatic cast spells though for all I know.
What I'm trying to get is a Queue list, not a sequential action.
I have a set out like this currently.
Variable Type Trigger: QueueList[10]
Custom Action - addToQueueList()
Parameters: Trigger
Local Var:
Trigger - Comparison = No Trigger
Int - X
Action -
For Int X 0 - 9, X + 1
If QueueList[X] == Comparison
Then QueueList[X] == Trigger(Parameter)
Break
Else -
QueueTrigger
Event -
Condition -
Local Var - X = 0
Action
General - Repeat Forever
{
General Wait 0.5 Seconds Game Time
Trigger Run P1QueueList[0] (check conditions, wait until finishes)
for int x = 0 x < 8 x++
{ Var QueueList[x] = QueueList[X+1]
My problem with this... its great for Trigger Queueing, but its not an Action Queue. There is no variable "Action" and I'm not sure if theres any implements to making an Action execute like its a trigger. Theres also me typing 2 different styles.
Edit: Okay, I got what I needed down in a admittedly sort of messing very very non general (hard to change around) method.
I meant by trigger queue as it has a list of triggers, and it will run the triggers from 1st in line, and go to the next one once it finishes, and continue doing that. There's an "Add Action to Trigger Queue" trigger in the Trigger subsection if you don't know.
My problem with that, is that there is only one instance of queue for that trigger queue, and I'd like to know whether its even possible to have more than one.
0
0
0
I meant by trigger queue as it has a list of triggers, and it will run the triggers from 1st in line, and go to the next one once it finishes, and continue doing that. There's an "Add Action to Trigger Queue" trigger in the Trigger subsection if you don't know.
My problem with that, is that there is only one instance of queue for that trigger queue, and I'd like to know whether its even possible to have more than one.
0
Is there any possibility of making custom add action trigger queues so I can have more than 1 instance of trigger queues?