Sensor activation
SiamTillIllan opened this issue · 1 comments
I have no idea if possible but it would be great to have a parameter that say if a sensor is detecting something or not.
My idea is to use automatic LCD to have a list of area on my ship with the sensor telling me if an enemy is detected inside each area using the propbool function
I have no impact on the actual API, that's Keen's area 🙂
That said
You can already do that. Use the proper API, not the terminal actions and properties, they're slow.
https://github.com/malware-dev/MDK-SE/wiki/Sandbox.ModAPI.Ingame.IMySensorBlock
https://github.com/malware-dev/MDK-SE/wiki/Sandbox.ModAPI.Ingame.IMySensorBlock.LastDetectedEntity
https://github.com/malware-dev/MDK-SE/wiki/Sandbox.ModAPI.Ingame.IMySensorBlock.DetectedEntities