shalimar GURU
Joined: 04 Aug 2002 Posts: 4686 Location: Pensacola, FL, USA
|
Posted: Tue Oct 28, 2014 12:33 am
odd errors in dynamic pathing |
ERROR: argument still on stack: 1893
ERROR: Operator STRMARK requires two arguments
ERROR: Operator OR requires two arguments
ERROR: Operator binaryint requires two arguments
I get this only occasionally when one of my onRoomEnter events goes off
#LOCAL $nextMove
#IF (@destination) {$nextMove=%item( %pathexpand( %pathfrom( %roomnum, %roomkey( %mapvnum( @destination)))), 1)}
#IF (%numitems($nextMove)>0) {#SEND %item($nextMove, 1)}
@destination contains the ID of a room on my map
Any clue why I am getting this error, or perhaps a cleaner way of getting the desired results? |
|