I need to find a way to whitelist my npcs from attacking each other. the game is so dual and boring becuase they just sit there attacking each other. could it be a problem with the humanoid?
please help.
I need to find a way to whitelist my npcs from attacking each other. the game is so dual and boring becuase they just sit there attacking each other. could it be a problem with the humanoid?
please help.
I don't know much about NPC's tho I doubt it is the humanoid, but you can allows play around in it. I think this can be a solution. I think you can make a team and put the NPC in that team. If that is true and you can put NPC in a team I do know players in a same team cannot attack each other. So that should work. Updated MSG Hi I found something on this NPC in team Hope this helps!!
This discussion is preserved as it was. New answers, comments, and votes are closed.
7 comments
Let me know if this doesn't work
Pathfinding gives you the path and humanoid allows you to use that path it’s up to the op to make it go a different path for the attacking npc’s don’t put them in a team I don’t think you can even do that instead you would want to place them in a folder or tag the model of the npc with the tag editor after that modify the attack function and only allow it to damage
Damage* other players not npcs under the folder or has a tag called IsNpc
And as for the stacking you can set the npc’s collision group to not collide with players or other npc’s you can find a easy tutorial on the internet
OK did you figure it out to get it to work??
its extremely easy
turn off their collisions to them self (Collision groups)