Nuntar
Level: Smitemaster
Rank Points: 4756
Registered: 02-20-2007
IP: Logged
File: pathfinding bug.hold (1.1 KB) Downloaded 49 times. License: Public Domain
|
Pathfinding and Move single step (+1)
In the attached hold, the mud coordinator's script consists of "Move to (5,7) Single step" followed by a Speech command. He is completely blocked off, so he can't make a move.
The F1 in-game help says: "If no move can be made, the next script command is executed immediately." So you would expect him to make his speech on the first turn. He actually doesn't speak until the second turn, so the help is wrong and should be corrected.
The tar coordinator has the same script, but with Imperative Pathfinding. He doesn't reach the Speech command at all. This is definitely a bug; the whole point of "Single step" is that it doesn't keep a character occupied for more than one turn, making it possible to, for example, write loops that give characters regular behaviour such as trying to move every fifth turn.
____________________________
50th Skywatcher
|