Jump to content

Recommended Posts

Posted

My experience with trying to make dynamic missions and spawning units and objects on the map during the mission has it's limitations with the current functions available in DCS today.

getSurfaceType should return if the spawn point is in/on a building/scenery.

 

This has several benefits:

1. If you want to avoid units or static objects spawning inside buildings. (Big problem in city's when spawning units with scripts)

2. If you want infantry to spawn on top of a building.

3. A lot easier for a mission creator to check this compared to trying to use world.searchObjects for this purpus.

 

 world.searchObjects is not suitable for this task since it many times does not return the scenery in a zone at all and not reliable.

 

This functionality would be very welcome and beneficial to mission makers 🙂

 

  • Recently Browsing   0 members

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