Um, you didn't bother to say what the problem was!
But I think I've figured out your problem. In the EmitSound command, you pass the footstep_needed variable as the entity to emit the sound from.
Either you're confused, or you made a mistake. Replace the footstep_needed variable with one that contains an entities handle.
But I think I've figured out your problem. In the EmitSound command, you pass the footstep_needed variable as the entity to emit the sound from.
Either you're confused, or you made a mistake. Replace the footstep_needed variable with one that contains an entities handle.