• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Creature automatic walk Rep++

Niskafase

New Member
Joined
Jan 8, 2010
Messages
104
Reaction score
1
How can I make a monster walk in a direction with its normal speed?

For example doMoveCreature doesn't work.
I put action id on some tiles in a line, lets say 10 sqm and use onStepIn with it.
Lua:
function onStepIn(cid, item, position, fromPosition)
doMoveCreature(cid, direction..)

But then I just get "teleported" to the end of the line since it isn't any "exhaust" between the moveCreature thing.

I need it to walk on the tiles with its normal speed.
 
Last edited:
That's what I'm doing atm, but I want the monster to keep its normal speed.
When I'm using a loop it's the same speed on all monsters.
 
Is there a command / code (maybe you could use PERL?) to modify the walkInterval in the monster.xml file?

You could also try attempting to declare the amount of time it takes them to teleport each sqm based on their movement speed in the XML file?
 
You need to find a way how to determine step duration depending on creature's speed.
Try looking around in sources :eek:
 
Back
Top