- Joined
- Aug 7, 2019
- Messages
- 43
- Reaction score
- 12
- First Language
- English
- Primarily Uses
- RMXP
I'm working on a scrip that makes the NPCs follow a direction/destination, and everything is working pretty good so far. The problem comes when I introduce more than 1 NPc and they "collide".
The scrip checks the terrain tags next to the NPC moving, so as both NPCs colliding would be in the terrains that the script would check as aviable, and tehreofore would try to move to each other space's. If i manage to assign a terrain tag to each fo the NPCs, it would completely solve my problems, but I have no idea at all how to make it. If someone can please tell me an easy way to do this, I'll be really thankful
The scrip checks the terrain tags next to the NPC moving, so as both NPCs colliding would be in the terrains that the script would check as aviable, and tehreofore would try to move to each other space's. If i manage to assign a terrain tag to each fo the NPCs, it would completely solve my problems, but I have no idea at all how to make it. If someone can please tell me an easy way to do this, I'll be really thankful