I wanted to make my own footsteps sounds without a plugin so I could have full control over the timing of the sounds myself. Everything is fine except for 2 things. I don't know how to adjust the sounds when an NPC is walking faster and I noticed the sounds only match the tile ID the player is on. For example if an NPC is on grass and the player is in water, the water sound will play for the NPC even though it should be playing grass. The player is given priority over the NPC when the sounds shouldn't match up like that. Also, I am using Region IDs. I don't know how to use Terrain Tags. What can be done to solve the issue? Is there a script that will check to see if the NPC is on a certain tile separately? I think that could help perhaps.
Player Footstep Instructions:
NPC Footstep Instructions:
Player Footstep Instructions:
NPC Footstep Instructions: