mirror of
https://github.com/FlightControl-Master/MOOSE_Demos.git
synced 2025-08-15 10:37:47 +00:00
Mission added Wrapper/Group/900-Option-Green-and-Red-State
This commit is contained in:
parent
1fc4ef98b0
commit
800232c2a9
@ -0,0 +1,28 @@
|
||||
---
|
||||
-- Author: FlightControl
|
||||
-- Created: 10.12.2017
|
||||
-- Contributors: kaltokri
|
||||
-- Modified: 27.02.2024
|
||||
--
|
||||
-- # Documentation:
|
||||
-- https://flightcontrol-master.github.io/MOOSE_DOCS_DEVELOP/Documentation/Wrapper.Group.html
|
||||
--
|
||||
-- # Description:
|
||||
-- This mission will show the option to set the alarm state of a group to RED or GREEN.
|
||||
-- Both options are tested with one group for each.
|
||||
-- Please check the dcs.log in case of errors, and the time the group reacts to the approaching target.
|
||||
-- The Red State Group should react much faster than the Green State Group.
|
||||
-- State Blue is attacking. State Green is defending.
|
||||
-- The south SAM is "Red State".
|
||||
--
|
||||
-- # Guide:
|
||||
-- 1. Start the mission.
|
||||
-- 2. Watch the situation on F10 map.
|
||||
|
||||
-- Find the SAMs and create GROUP objects.
|
||||
RedStateGroup = GROUP:FindByName( "Red State" )
|
||||
GreenStateGroup = GROUP:FindByName( "Green State" )
|
||||
|
||||
-- St the states.
|
||||
RedStateGroup:OptionAlarmStateRed()
|
||||
GreenStateGroup:OptionAlarmStateGreen()
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user