Forum

> > CS2D > Scripts > How to trig an additional SFX?
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch How to trig an additional SFX?

1 Antwort
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt How to trig an additional SFX?

Xtasy
User Off Offline

Zitieren
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.

alt Re: How to trig an additional SFX?

Quattro
GAME BANNED Off Offline

Zitieren
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"')
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht