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

-

how can i prevent npc's from walking into furniture's/campfires?
On ur "npcname".xml, add walkinterval="0"

example:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<npc name="Dodge Seller" script="data/npc/scripts/defau.lua" walkinterval="0" floorchange="0">
   <health now="100" max="100"/>
   <look type="57" head="0" body="0" legs="0" feet="0" addons="0"/>
  <parameters>
  <parameter key="module_shop" value="1"/>
  <parameter key="shop_buyable" value="Dodgestone,8302,10000000"/>
  </parameters>
</npc>
 
ye i know what you mean, not what i'm after tho, i would still like it to move. just not walk over chairs and stuff
You could run a check in the npc's walk pattern if the item in front of it isn't a ground item return false
 
Back
Top