Quote:
Originally Posted by Baldo_the_Don
I've never heard of the 'enter' or 'leave' (I guess they're called) logic gates. They sound immeasurably useful.
Excellent find, OM!
Something I always wished was possible as a trigger, and you might know if this exists, is when Group X is not outside of area Y. As in, if all members of Group X are in area Y. 'Cause I've seen a lot of coop maps that end when a player is in the area trigger around the extract vehicle, and I always thought it'd be better to trigger the mission end when all the players (all players, on both teams, in an MP map are in group 1, by the way) are in the area trigger, you know? Or, 'If group 1 is not outside of Area "Win."'
Ever seen something like that?
|
I'm not aware of a way to make this work.
I played around with other possible ways by using a variable and the "humans" variable.
The idea was to set up a trigger that would increase v1 when a player steps into an area, and decrease it when they step out. So v1 should reflect the number of players in an area.
Then you can just say "If eq(v1, humans) then" and either win the game or whatever.
Problem is that the ssn triggers only seem to work on the host side, even when using ploop.
so v1 will increase to 1 if the host is in the area, and should increase each time another player walks into the area. Then when v1 is = humans (num of players) then win the game.
But it doesn't work on the client side. if you can figure out a trigger that will trigger when any player has met the condition, then this might work. I'm not too familiar with multiplayer and how these scripts work with clients tho.