Search found 6 matches

by shadowgreg
2007-02-22 11:27:45
Forum: Help
Topic: Move in specific directions with the number of tiles
Replies: 13
Views: 7387

Got it working another way.

I cant read the language of the writer of this code, but thanks for the send_step function


# Direction Legend #
# For the move function. #
# ----------------------------
#north -- send_step(33,0)
#north east -- send_step(39,1)
#east -- send_step(34,2)
#south east -- send_step(40,3)
#south ...
by shadowgreg
2007-02-21 23:15:31
Forum: Help
Topic: Move in specific directions with the number of tiles
Replies: 13
Views: 7387

when i use that code it says object not found. and the if statement gives me an error.

Only the lines of code u need to move 5 tiles, which will work when i implement it.
by shadowgreg
2007-02-21 13:50:20
Forum: Help
Topic: Move in specific directions with the number of tiles
Replies: 13
Views: 7387

can you just show me the code to track ect. in a code bracket to move 5 spaces in any direction relative to where u r standing that will work? thanks in advance.
by shadowgreg
2007-02-21 09:35:12
Forum: Help
Topic: Move in specific directions with the number of tiles
Replies: 13
Views: 7387

when i use


UO.Drop('5',STR(UO.GetX('self')+2),STR(UO.GetY('self')-7),STR(UO.GetZ('self')),'finditem')


it says Invalid serial or object

if i replace 'finditem' with my serial,


UO.Drop('5',STR(UO.GetX ...
by shadowgreg
2007-02-21 03:37:43
Forum: Help
Topic: Move in specific directions with the number of tiles
Replies: 13
Views: 7387

im not quiet sure how to implement that?
by shadowgreg
2007-02-20 12:57:46
Forum: Help
Topic: Move in specific directions with the number of tiles
Replies: 13
Views: 7387

Move in specific directions with the number of tiles

would you guys be able to make a function such as:
UO.Move([Direction], [SpaceCount]))

a few examples would be

UO.Move(N, 5)
UO.Move(NE, 4)
UO.Move(E, 4)