chromium Posted December 7, 2016 Posted December 7, 2016 I need to get the current option - alarm state of a given ground group controller by script.. but I can't find the proper SSE fuction. I may force it in a state with setoption but it's not ideal for my purpose. Is it possible? If so, how? thanks! 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
Grimes Posted December 7, 2016 Posted December 7, 2016 There is no specific function for it. Maybe you could try Unit.getRadar If the alarm state is red it should return false If the alarm state is green it should return true I don't know if this function works for all types of units, let alone all types of units that have radars. It could very well just return if the primary sensors are on and if it detects anything. The right man in the wrong place makes all the difference in the world. Current Projects: Grayflag Server, Scripting Wiki Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread) SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum
chromium Posted December 7, 2016 Author Posted December 7, 2016 That could be a Good hint Inviato dal mio SM-G850F utilizzando Tapatalk 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
Recommended Posts