Created
February 24, 2022 22:23
-
-
Save nielsvaes/abd6d3f319dba2cced2335018193f457 to your computer and use it in GitHub Desktop.
DCS - RadioBeacon
This file contains hidden or 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
| -- Let's create a beacon for a unit in distress. | |
| -- Frequency will be 40MHz FM (home-able by a Huey's AN/ARC-131) | |
| -- The beacon they use is battery-powered, and only lasts for 5 min | |
| local UnitInDistress = UNIT:FindByName("CRASHED HELICOPTER") | |
| local UnitBeacon = UnitInDistress:GetBeacon() | |
| -- Set the beacon and start it | |
| UnitBeacon:RadioBeacon("MySoundFileSOS.ogg", 40, radio.modulation.FM, 20, 5*60) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment