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

Solved NPC Questions

Exoltes

Novia OTserv Developer
Joined
Jul 2, 2009
Messages
563
Reaction score
47
Location
Belgium
I'm working on a 8.54 Open Tibia Server using The Forgotten Server - Version 0.2.7 (Mystic Spirit).

I was wondering if it ware to be possible to make NPC's walk-through and not push-able.

Any idea's whether this is possible and how to do it exactly are welcome.

Thanks in advance!
 
I don't think you can enable Walkthrough in scripts. You have to edit the sources.
Add this code at the beginning of the Player::canWalkthrough(...) function:
Code:
if(creature->getNpc())
        return true;
 
I didn't say it's impossible. I said it can't be done in the script environment. Remember that group_id=3(God) characters can walk through any creature.
 
Back
Top