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/ Openbeta: https://github.com/Chromium18/DSMC The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.
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/ Openbeta: https://github.com/Chromium18/DSMC The thing is, helicopters are different from planes. An airplane by it's nature wants to fly, and if not interfered with too strongly by unusual events or by a deliberately incompetent pilot, it will fly. A helicopter does not want to fly. It is maintained in the air by a variety of forces in opposition to each other, and if there is any disturbance in this delicate balance the helicopter stops flying; immediately and disastrously.
Recommended Posts