• 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!

NPC walk certain direction + NPC don't change direction

xsaint

ʜᴀᴜɴᴛᴇᴅ
Joined
Sep 3, 2019
Messages
92
Reaction score
281
Location
Launceston, Australia
Give as much information as possible (TFS version)
As title says, I'm in need of two scripts.

1) I have a general who I want to "march" west to east 5 paces and back on repeat.

2) I have royal guards who I want to either speak to the player then revert to the direction they were facing, or if easier reply but don't face the player.

Thanks in advance. <3
 
Please read Support Board rules before posting a thread.

TFS Version?

For the NPC which walks to exact place you can try this one

and for the NPC which changes its look direction you can just add this function inside your Lua script.
Lua:
function onCreatureAppear(cid) selfTurn(EAST) npcHandler:onCreatureAppear(cid) end
 
Back
Top