Jump to content
  • 0

how can i make npcs passables?


Dagobah

Question

2 answers to this question

Recommended Posts

  • 0

 

16 hours ago, Lathander said:

The passability, from what I understand, is checked on both the npc, and on the player as well. So npc needs passability = true, but there's a code that is part of player movement that also checks if a certain type, can pass. Locate that and change both those areas.

thank you so much! i looked for it and yes that was the proplem!!!

 

i change the IsTileBlocked void in Intersect.Client\Entities\Player.cs and change IsTileWalkable in Intersect.Server\Entities\Player.cs and set Passable = true; in Intersect.Server\Entities\Npc.cs

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...