ScriptUO
Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: declo on March 12, 2015, 12:22:52 PM
-
I am having an issue trying to enter a dungeon via the entrance (fan dancer). Most of the time, a "move 123 123 a" with a wait 20 after works, just at times, the char doesn't enter the dungeon and the next move statement actually moves the character away from the dungeon entrance and into trouble.
For those locations that you can't recall/sacred journey to, does someone have a sub that moves the character to a spot and checks to see it has moved inside the dungeon. Would nested IF THENs be a good solution?
-
Has anyone played with While & Break commands?
question on this code
while #charposx > 900
{
move 926 167 a
If #charposx <100
break
move 926 165 a
}
How long does the char have to be at 926 167 a before the while command become not true and thus moving on to the bit of code. Is it instant?
I think part of my issue is I am dealing with some lag since a simple move x y a works most of the time.
btw, finally figured out how to use the code command. Always passed over the button thinking it was a twitter insert or something. Silly me
-
I am trying to move a character to the lowest level of the Fan Dancer Dungeon.
-
instant of move have you try walking.
; top strair 984_196
; botton strari 67_337
set %fanx 67
set %fany 337
repeat
wait 10
event macro 5 3
until #CHARPOSX = %fanx && #CHARPOSy = %fany
halt
-
ahhh cool! can't wait to give it try this evening!!
TY!!
-
instant of move have you try walking.
; top strair 984_196
; botton strari 67_337
set %fanx 67
set %fany 337
repeat
wait 10
event macro 5 3
until #CHARPOSX = %fanx && #CHARPOSy = %fany
halt
Your awesome!! Thank you!! Thank you!! Thank you!!
Worked like a charm!!