• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Tibia 8.50 TFS 0.3.5pl1 | NPC Look Direction ?

Fresh

Quack!
Joined
Oct 21, 2009
Messages
1,855
Solutions
18
Reaction score
671
Hello. I have question for you.
How to do on NPC a look direction like in tibia 7.6 on tibia 8.5 (tfs 0.3.5pl1)
i mean:

If i spawned NPC on map editor, the npc always looking up.
I need to make on NPC look direction = right
( after talking with player the npc back to previous direction [set'ed in npc.xml] = right )

It's possible to do it on 8.50 ?
 
change
LUA:
function onThink() npcHandler:onThink() end
to
LUA:
function onThink() if #npcHandler.focuses == 0 then selfTurn(EAST) end npcHandler:onThink() end
 
Back
Top