News:

Come Chat with us live! Learn how HERE!

Main Menu

Certain team hurt trigger

Started by Futilrevenge, January 03, 2009, 03:32:57 AM

Futilrevenge

Well, I'm new to these forums, but i am a mapper for many games, so I have allot of mapping experience. anyway, I'm working on a map currently and I need some help with gtkradiant. How do you create a trigger that only hurts a certain team, like if your an alien/human and you enter the trigger area and gets hurt, but the opposite team is immune? is this even possible? Thanks  :granger:
I Yam what i Yam. Tremulous.

Kaleo

I think you can apply a team variable to a hurt entity that will allow it only to affect one team.

Not one hundred percent sure about this though.
Quote from: Stannum
Thou canst not kill that which doth not live,
but you can blow it into chunky kibbles!
I has a cookie, and u can has a cookie, but i no givs u mai cookie...

Plague Bringer

Quote from: Kaleo on January 03, 2009, 06:44:10 AM
I think you can apply a team variable to a hurt entity that will allow it only to affect one team.

Not one hundred percent sure about this though.
I can confirm that much, at least. I believe it's key: team, with a value of either 1 (alien) or 2 (human). I do believe it would be relatively the same as creating a door that only opens for one team. Don't quote me on any of that, though.
U R A Q T

==Troy==

a trigger_equipment or trigger_class targeting taget_hurt will also allow you to damage players based on their class or equipment.

Winnie the Pooh

Filter the triggers you are using through a trigger relay and set the key for the aliens only.
QuoteI also realize that this is the internet, but even more so this is the forum for a video game on an internet, then even beyond that this is TREMULOUS forums the Satan version of all video game forums for a video game that is ON the internet.

professor

Quote from: Plague Bringer on January 03, 2009, 02:53:57 PM
Quote from: Kaleo on January 03, 2009, 06:44:10 AM
I think you can apply a team variable to a hurt entity that will allow it only to affect one team.

Not one hundred percent sure about this though.
I can confirm that much, at least. I believe it's key: team, with a value of either 1 (alien) or 2 (human). I do believe it would be relatively the same as creating a door that only opens for one team. Don't quote me on any of that, though.
yea, but isnt the team thing for having a sertain team of enities, not for an effect on a sertain team in game??? cuz ive seen it both ways such as when ur making a s2 door, u use 1 for alien, and 2 for human, but i know u can make a team of doors that operate together, well at least i think...
http://static.flickr.com/24/141310872_e39ad59705_b.jpg
omg! someone cut the arm off my tyrant!!