Cruiser1092 3 Posted September 18, 2023 Hi, I'm trying to create a killer trigger that activates via "radio" button, work in multiplayer. What I try to do is kill all players instantly when the trigger is activated. But I don't understand how to set it. Could anyone help me with this? Share this post Link to post Share on other sites
JCataclisma 79 Posted September 23, 2023 Unfortunately I cannot run the game to test it this weekend, but I think you can put something like the code bellow in an object or trigger where you want the action. So it will search for all "men" in a 25 meter radius and instantly set their damage to the maximum = 1. The only way I could test - and it worked in editor, at least: Name your trigger - in my case, "trap". Then place this on its activation: _nearbyTargets = nearestObjects [trap, ["Man"], 25]; { _x setDamage 1; } forEach _nearbyTargets; So it will search for all "man" units in a 25 meter radius and instantly set their damage to the maximum = 1. Providing one of the tips from wiki, it will not affect mounted men, only the units on foot. Cannot test right now how would a dedicated server deal with the "trap" name, but it would probably be better to create such trigger using scripts, and giving it a name like "_trap" instead. That the main reason for I have used all those lines, which are probably beyond the necessary for a simple trigger placed in editor. https://community.bistudio.com/wiki/nearestObjects Share this post Link to post Share on other sites
JCataclisma 79 Posted September 23, 2023 But I feel compelled to make an observation: it would be MUCH more fun whether you spend a little more time to create something like in this Gunther's video 😁 : 2 Share this post Link to post Share on other sites
Cruiser1092 3 Posted September 24, 2023 hahaha yes well in another mission I might think about it Share this post Link to post Share on other sites
Cruiser1092 3 Posted September 24, 2023 anyway, thanks for the trigger tip! I'll test😉 Share this post Link to post Share on other sites
Cruiser1092 3 Posted September 25, 2023 What if I wanted to create an outro where when all the players die a trigger is activated that starts a video saved in the directory in OGV format? Share this post Link to post Share on other sites