Forum

> > CS2D > Scripts > How to trig an additional SFX?
Forums overviewCS2D overview Scripts overviewLog in to reply

English How to trig an additional SFX?

1 reply
To the start Previous 1 Next To the start

old How to trig an additional SFX?

Xtasy
User Off Offline

Quote
I searched a bit, but couldn't find a script that, for example, when a player throws a grenade and it explodes (no need to actually do when it explodes), a specific sound effect plays along with the original.

I'm quite noob at lua script, and don't know if I searched it correctly to say I couldn't find something similar. I think it could work like a put down below, and being bad at scripting mean I am still unable to do so.

> Event > Specific Item is used/trigged
> Condition > Item: Smoke Grenade
> Action > Trig env_sound of Trigger ID: 01

Is it possible? If that is anyway to make it simple like that tell me.

old Re: How to trig an additional SFX?

Quattro
GAME BANNED Off Offline

Quote
Make something simple using lua script. After several tries you will be able to play sounds with ease using
1
parse('sv_sound "/folder in CS2D sfx folder /start.ogg"')
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview