You may have heard this before, but this time I would like some specifics, please!
I was thinking of using two aliases.
One named 'pause' to temporary stop, and at the same time store the speedwalk queue.
Then I would do my stuff; attack something for example.
Then I would use that second alias, named 'resume'. It would get the saved speedwalk queue and execute it as a speedwalk.
The best that I've been able to do is:
dim speedwalkQueue
dim iCount
speedwalkQueue = World.GetQueue
If Not IsEmpty (speedwalkQueue) Then
for iCount = lbound (speedwalkQueue) to ubound (speedwalkQueue)
world.addalias "", "resume", speedwalkQueue (iCount), eEnabled or eAliasSpeedWalk, ""
world.discardqueue
next
End If
The problem with this solution is that I end up with ten different aliases each with one direction.
I was thinking of using two aliases.
One named 'pause' to temporary stop, and at the same time store the speedwalk queue.
Then I would do my stuff; attack something for example.
Then I would use that second alias, named 'resume'. It would get the saved speedwalk queue and execute it as a speedwalk.
The best that I've been able to do is:
dim speedwalkQueue
dim iCount
speedwalkQueue = World.GetQueue
If Not IsEmpty (speedwalkQueue) Then
for iCount = lbound (speedwalkQueue) to ubound (speedwalkQueue)
world.addalias "", "resume", speedwalkQueue (iCount), eEnabled or eAliasSpeedWalk, ""
world.discardqueue
next
End If
The problem with this solution is that I end up with ten different aliases each with one direction.