Author Topic: Looping triggers?  (Read 1509 times)

I was thinking a map with endless death trigger (I don`t want to tell more details yet),are these possible?I know how to make triggers,but do they loop?If no,is it possible to make them loop?

i believe they loop, unless you code them not too

i believe they loop, unless you code them not too

No.

Triggers don't loop and have a max scale of 999 999 999.

There are a couple of solutions though.

1) If you want an area below the player to kill them, use lava.
2) If your goal is just to keep people out of terrain repeats, consider using invisible walls instead.
3) Box the player in with triggers so there isn't a way for them to get past the trigger.
4) Make a big trigger and hope that most players are too impatient to fly or walk around them.

One thing to note is that lava doesn't kill or even hurt people inside vehicles. I can't remember if triggers kill people inside vehicles, I think they do though.

I don't think so Wedge.  In the planets, if you flew into the sun, your plane would be destroyed before you took damage.  Damage was done during the tic, so that may make a difference if they handle objects differently for entering/exiting and ticking.  Though you could get by this by having it kill the pllayers that are in the said vehicle.

Yeah, it looks like you need to specifically blow up the vehicle first before you kill the player. I would suggest just using Nitramj's kill trigger and changing the kill messages to whatever you need, although you might want to ask him first.

Actually, it looks like you can just add custom damage types by adding this to the end of the file:

AddDamageType("sometypeofDamage",   "%client has died for some other reason");

And then just specify which one you want. I don't know how to do that, I've never used his trigger before.