So in my map how would I trigger a teleport when all players have left spawn?
[Blocked Image: http://i.imgur.com/fQFRTNa.png]
So when all the players are outside of the orange box, everyone gets teleported.
I hope this makes sense
Thanks!
-pB.
So in my map how would I trigger a teleport when all players have left spawn?
[Blocked Image: http://i.imgur.com/fQFRTNa.png]
So when all the players are outside of the orange box, everyone gets teleported.
I hope this makes sense
Thanks!
-pB.
Have you tried OnEndTouchAll ?
QuoteFires when the last entity in the entity's area exits this trigger or when this entity is disabled. Only entities that passed this trigger's filters are considered. (activator is the last exiting entity)
What if someone stay in the spawn indefinitely?
Lapin is right tho. Alternatively you can use a game_zone_player with a logic_timer and logic_compare to count the number of players in a zone. I have an irrational distrust of triggers, this is probably unnecessary.
Quote from leplubodeslapinHave you tried OnEndTouchAll ?
Quote from KlemsWhat if someone stay in the spawn indefinitely?
Lapin is right tho. Alternatively you can use a game_zone_player with a logic_timer and logic_compare to count the number of players in a zone. I have an irrational distrust of triggers, this is probably unnecessary.
Thanks a lot. I've gone with Klems' idea as I have already tried the triggers. Is there any way to debug the logic (debug messages etc.) as I haven't got it working yet and these would be a great help?
Quote from FnuggiYou can use ent_messages_draw 1 to visualize all entity input/output.
Thanks!
Thanks, it all works perfectly ![]()
Don’t have an account yet? Register yourself now and be a part of our community!