News:

Come Chat with us live! Learn how HERE!

Main Menu

trigger_*insertwordhere* affecting one team exclusively?

Started by Plague Bringer, March 05, 2007, 12:58:31 AM

Plague Bringer

I know I read about how to do this somewhere but I forgot where. If I wanted to make a brush that hurts hummies (I want to keep them out of alien base), how would I do that? Thanks.
U R A Q T

Survivor

trigger_class for aliens trigger_equipment for humans. Leave equipment/classes blank to have any member of that team trigger it.
I'm busy. I'll ignore you later.

Plague Bringer

And then  I would just continue with the damage keys as usual? (btw, thanks, I have to kick myself, that's so obvious..kinda. >.>)
U R A Q T

Survivor

negative, target a trigger_hurt with one since these two triggers don't have any dmg keys integrated. Then enter dmg etc in the trigger_hurt
I'm busy. I'll ignore you later.

Plague Bringer

Okay, (select trigger_hurt and trigger_equipment then ctrl+k?)

Would it be similar for a door opening exclusively for one team?
U R A Q T

Survivor

Yes, the class/equipment can be seen as an if statement which then triggers it true value or does nothing if it doesn't apply.

Duelist for example was originally a concept made for alien vs human deathmatch. It utilized the class+kill trigger system in the human base and the equipment+kill trigger in the alien base. Also included where a class (builder0+builder1? can't remember exactly)+kill in the alien base to prevent deconning and a equipment(conkit+advconkit)+kill in the human base for the same reason. They're a wonderful tool, it's just that the equipment names and classnames are so nonrelated most of the time.
I'm busy. I'll ignore you later.