-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mission added Functional/FOX/102-ProtectedGroup
- Loading branch information
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
Functional/FOX/102-ProtectedGroup/FOX-102-ProtectedGroup.lua
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
-- Author: kaltokri | ||
-- Created: 28.02.2024 | ||
-- Contributors: - | ||
-- Modified: 28.02.2024 | ||
-- | ||
-- # Documentation: | ||
-- https://flightcontrol-master.github.io/MOOSE_DOCS_DEVELOP/Documentation/Functional.Fox.html | ||
-- https://flightcontrol-master.github.io/MOOSE_DOCS_DEVELOP/Documentation/Wrapper.Group.html | ||
-- | ||
-- # Description: | ||
-- In this mission we run a Functional FOX Missile trainer and add a protected group. | ||
-- Note: AddProtectedGroup works only for AI! | ||
-- | ||
-- # Guide: | ||
-- 1. Start the mission. | ||
-- 4. First AI aircraft is not protected and will be damaged or killed. | ||
-- 5. Second AI aircraft is protected and will not be damaged. | ||
|
||
-- Create a new missile trainer object. | ||
fox=FOX:New() | ||
|
||
-- Add protected AI group. | ||
fox:AddProtectedGroup( GROUP:FindByName("Protected") ) | ||
|
||
-- Start missile trainer. | ||
fox:Start() | ||
MESSAGE:New( "FOX missile trainer started", 25, "INFO" ):ToAll():ToLog() |
Binary file not shown.