Skip to content

Commit

Permalink
Mission added Wrapper/Group/900-Option-Green-and-Red-State
Browse files Browse the repository at this point in the history
  • Loading branch information
kaltokri committed Feb 29, 2024
1 parent 1fc4ef9 commit 800232c
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 800232c

Please sign in to comment.