For Arma 3 players, this guide simply explains how to set up how to delete a terrain object with a trigger. Let’s check out how to do it.
Problems with floating road sections, invisible roads which could be driven on, not possible at all, complex scripts and generally not working.
But i did it, and it’s super easy. You need 1 module, 1 variable name and one line of code.
It’s more like deleting the bridge, but with enough smoke this is good enough.
Find the bridge you want to delete/blow up.
Get the ‘Edit terrain object’ module, double click it and make sure the ‘. . .’ icon is pressed in object types.
Now take your edit terrain object module and move it so the bridge gets a purple/pink box. Then you go into the module and in Object variable name write ‘bridge’ (or whatever).
Now you can reference this through code. So get a trigger, for simplicity make a trigger with if player present.
In the ‘on activation’ simply put.
Walk into the trigger area, watch the bridge vanish.
Make something much much cooler and fancy than this, with timed explosives, spawning rubble, sound effects, what have you.
And that is my simple tutorial! It might not be news for everyone, but i’m super stoked i managed to figure it out.