The second code that I posted worked perfectly for me...

It plays a sound (ONCE) when the player model gets close enough to the entity with the action assigned...

If you need to, change the variable player.x, to camera.x.

If your still having problems, then learn c-script via the manual...


xXxGuitar511
- Programmer