JoMiMi 3 Posted April 7, 2020 Is there a way to get a tripwire to detonate when an object (e.g. door or AI) goes through it by scripting in the editor? If so, how? Share this post Link to post Share on other sites
JohnKalo 657 Posted April 8, 2020 nameOfMine setDamage 1; should work. As for the condition it can be anybody present in the needed area. 1 Share this post Link to post Share on other sites
JoMiMi 3 Posted April 8, 2020 10 hours ago, JohnKalo said: nameOfMine setDamage 1; should work. As for the condition it can be anybody present in the needed area. This worked for AI and players, but is there a script that would detonate tripwires when it collides with a door? Share this post Link to post Share on other sites
JohnKalo 657 Posted April 9, 2020 Don't think so. Maybe you can make it blow up when the door is opened and not when it collides with it 1 Share this post Link to post Share on other sites
JoMiMi 3 Posted April 9, 2020 7 hours ago, JohnKalo said: Don't think so. Maybe you can make it blow up when the door is opened and not when it collides with it How do you do that? Also, should of pointed out earlier, but I'm kinda new to scripting. Share this post Link to post Share on other sites
JohnKalo 657 Posted April 10, 2020 Have never done it myself and I am no scripter. I only make really simple ones. The above should help though. Otherwise the specialists can help. 1 Share this post Link to post Share on other sites
Joe98 92 Posted April 10, 2020 As a test, place the trip wire INSIDE the door and then order an AI soldier to enter the building. 1 Share this post Link to post Share on other sites