Jump to content

Recommended Posts

Posted

I'm working on a EWR script that table down every radar in the scenery by using getSensor on each unit. I found that this function won't return positive for the Patriot str radar, unit display name "SAM Patriot STR AN/MPQ-53"

 

version 1.5.5 build 58891.

 

to reproduce simply try to verify if sensors table is nil or not.

Author of DSMC, mod to enable scenario persistency and save updated miz file

Stable version & site: https://dsmcfordcs.wordpress.com/

Github for latest version: https://github.com/Chromium18/DSMC

Posted

Sorry for the late reply, but I can't reproduce it.

 

There is a known bug where the function only returns the sensor for the first unit of a group. Could that be the problem?

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

  • Recently Browsing   0 members

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