Hi all,
Having a Wait action in a Function called by another Function is not going to provide a delay is it? I've been trying to add a delay in a Function calling with it to simulate auto attack speed, but I think i've come to the realisation it's not used for what I thought it would be.
I thought this:
Would dump out to the textbox (aCharH.At(13) is 2, which is the character attack speed in seconds):
You hit x for x damage.
Wait for 2 seconds
You hit x for x damage.
Wait for 2 seconds
etc until tempMob.At(0) =<0, then it stops.
What it does do instead, is instantly gut the spawned mob for all it's health and dumps every line to the textbox instantly:
You hit x for x damage.
You hit x for x damage.
You hit x for x damage.
You hit x for x damage.
with 0 delay until death
I don't think i'm using the wrong loop. I've read the manual on the others but they don't seem to fit what i'm after. I tried repeat also but again, it just instakilled the poor bastard. I've searched all posts referencing auto attacking and looked through them all. 1 might have helped but it's a good few years old and the capx for reference is not available. I also went through 38 pages of tutorials, and whilst finding a few awesome bits and bobs, nothing referencing my current plight! Even went out for a walk to clear my head but just ended up getting soaked from the rain!
Any idea on what I could use in it's place?
Thanks.