How many times does a trigger_multiple trigger it's target


(nUllSkillZ) #1

Hi,

the following question just come up:
If there’s more than one player inside a trigger_multiple-entity:
How many times does that trigger_multiple-entity trigger it’s target?
Only one time?
Or as many times as players are inside this entity?


(SCDS_reyalP) #2

the trigger triggers when a player enters it, AFAIK.


(Chruker) #3

But when there are n number of players inside a trigger, do they on subsequent triggerings trigger the trigger n times, or are the all collected per serverframe?


(SCDS_reyalP) #4

The triggering happens when a player touches the trigger. It doesn’t know or need to know about anything else.

Note that the wait (default 0.5 seconds) must be > 0 or the trigger will only fire once. (the .def file mentions that -1 is a one shot, but neglects to mention anything <= 0 has the same effect.) So two players cannot touch a trigger at exactly the same moment in game time. It also looks as though a trigger multiple can only be triggered at most once per server frame.

Interestingly, there is some scripting stuff for these entities that may behave somewhat differently. I haven’t looked at that in detail.


(nUllSkillZ) #5

I’ve tested this issue with bobots (BTW these bots are killer).
The “trigger_multiple”-entity is as often activated as many players are in the trigger zone.
But it triggers only once it’s target.


(Loffy) #6

Sorry for asking this in your thread, but I think it is OK: Do you create a custom (test) map with bots in the map? Is it possible to run around in the map - together with the bots? That’s is awesome. How?
// Loffy


(nUllSkillZ) #7

No I’ve only spawned them.
And the bots stand at the spawn the whole time.

There’s a menu point waypoints (or something similar).
So I guess it’s possible to make a waypoint-file for custom maps.

And Ithink I’ve also read that there is a sample waypoint-file somewhere for DL.