Forum
CS2D Scripts Stop the sv_sound ?Stop the sv_sound ?
4 replies 1
parse("trigger \"env_sound_name\"")
The first trigger will start the sound, while the second time will stop.
Apache uwu has written
Try using env_sound within the editor. Then with Lua, you may toggle the sound with:
The first trigger will start the sound, while the second time will stop.
parse("trigger \"env_sound_name\"")
The first trigger will start the sound, while the second time will stop.
Actually, if you're running a 30 seconds sound and switch the entity for 1 second, it's gonna run for another 29 seconds.
1