Jump to content

Recommended Posts

Posted (edited)
4 hours ago, Oradan1974 said:

So I have inserted the script into a mission of mine....and it works..as soon as a soldier is “dead” he is removed

and I have set the script to continuously

 

 

 local sphere = trigger.misc.getZone('Mission')---Mission is the name of the zone to be cleaned 
 sphere.point.y = land.getHeight({x = sphere.point.x, y = sphere.point.z})
 local volS = {
   id = world.VolumeType.SPHERE,
   params = {
     point = sphere.point,
     radius = sphere.radius
   }
 }
 world.removeJunk(volS)

how is this working for you ?  a tried it a long time ago but in MP it crashes the DCS server

Edited by HC_Official

No more pre-orders

Click here for tutorials for using Virpil Hardware and Software

 

Click here for Virpil Flight equipment dimensions and pictures.

.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...