ScriptUO
Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: manwinc on January 27, 2012, 06:34:07 PM
-
So, While trying to improve a script, I came across something I learned a very long time ago, but obviously Forgot.
Anytime Your Perform a Key() Command in EUO, there is a wait timer included in the Command, something around 250 ms on my computer.
In My Script, I Will cancel a target Cursor by Doing Key ESC.
My new Method is to just
set #ltargetid N/A
Event macro 22 0
Which only takes about 20 ms. HUGE DIFFERENCE. It does give me a Target cannot be seen message though, which I guess might cause crashing. I'll post more as I play.
-
Nice, to cancel a spell guys would cast something else, like Create Food, or something like Earthquake when you don't have that spell.
-
Oooo... Thats a good one too, I bet you could just cast a spell that doesn't even exist.
-
set #targcurs 0
-
Oooo... Even better, although I seem to remember the use of setting #targcurs through euo being a big flag......