#How to stop NPCs from going through teleporters

1 messages · Page 1 of 1 (latest)

calm cosmos
#

Hi, I'm working on a horror game and I use teleporters to get from chapter to chapter, but sometimes the entity can get through the portal and it bugs it out. Anyone know how to fix this?

storm matrix
#

in the teleport code

#

check if who ur teleporting

#

is player

#

or not

#

and if so thentp

#

else dont tp

#

@calm cosmos