Page 1 of 1
Trigger type (for use with iprintlnbold)
Posted: February 1st, 2008, 7:11 am
by x0mbie
I'd like to use a trigger to display a message to the user via iprintlnbold.
Which trigger should I use for that?
hurt
use
damage
friendlychain
lookat
mount
multiple
Posted: February 1st, 2008, 5:06 pm
by YaNo
You can use:
use <- need to press the use button
damage <- need to shoot it
lookat <- when you look at the trigger (mostly used for SP)
multiple <- used when you run over or trough them
Posted: February 1st, 2008, 5:15 pm
by x0mbie
Awesome. I was looking for multiple.
Thanks for the fast reply Yano.
Oh, and then to name it the key/value would be targetname/trigger1. Right?
Posted: February 1st, 2008, 5:31 pm
by x0mbie
K, I figured out how to name it. But when I placed it in my map it seems to be structural. Do I need to make it non-colliding so that a player can pass through it? I can make some ss if you need me to.
This is obviously my first time working with triggers in cod.
nvm, i just double checked everything and recompiled and it works now.