English How to trig an additional SFX?

1 reply
Goto Page
To the start Previous 1 Next To the start
Up
Xtasy
User
Offline Off
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.
14.12.18 10:41:57 pm
Up
Quattro
User
Offline Off
Make something simple using lua script. After several tries you will be able to play sounds with ease using
Code:
1
parse('sv_sound "/folder in CS2D sfx folder /start.ogg"')
To the start Previous 1 Next To the start