Forum

> > CS2D > General > way to use trigger_if
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch way to use trigger_if

3 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt way to use trigger_if

WarMachine
User Off Offline

Zitieren
Ok, i've read a trigger_if topic but i can't find any info on how to use it the way i want.
for example, if i wanted it to play a sound at the end of a match, i don't know what to write in 'Condition'.
I know this is a bit of a newb question but can anyone please help me?

alt Re: way to use trigger_if

DC
Admin Off Offline

Zitieren
trigger_if checks a condition when it is triggered. You can't trigger entities at the end of a match. At least not without using Lua. So trigger_if is totally useless in your case. You have to use Lua scripting and the cs2d lua hook endround hook.

alt Re: way to use trigger_if

Draco
User Off Offline

Zitieren
NINJA EDIT.

Well, as DC sayd... you can only do that whit lua
1× editiert, zuletzt 01.11.12 18:34:24
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht