pB. Posted July 1, 2015 Report Posted July 1, 2015 (edited) So in my map how would I trigger a teleport when all players have left spawn?So when all the players are outside of the orange box, everyone gets teleported.I hope this makes sense Thanks!-pB. Edited July 14, 2015 by pB. Quote
leplubodeslapin Posted July 1, 2015 Report Posted July 1, 2015 Have you tried OnEndTouchAll ?Valve's Wiki says :Fires 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) pB. 1 Quote
Klems Posted July 1, 2015 Report Posted July 1, 2015 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. pB. 1 Quote
pB. Posted July 1, 2015 Author Report Posted July 1, 2015 Have you tried OnEndTouchAll ?Valve's Wiki says :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.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
Fnugz Posted July 1, 2015 Report Posted July 1, 2015 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?You can use ent_messages_draw 1 to visualize all entity input/output. pB. 1 Quote
pB. Posted July 1, 2015 Author Report Posted July 1, 2015 You can use ent_messages_draw 1 to visualize all entity input/output. Thanks! Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.