mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2026-08-18 13:16:03 +00:00
RADIO:SetFileName() and RADIO:SetFrequency() both tested and fixed
This commit is contained in:
+13
-4
@@ -4,10 +4,19 @@ BASE:TraceLevel(3)
|
||||
|
||||
|
||||
local Player = UNIT:FindByName("Player")
|
||||
Player:MessageToAll("MainScript Started 2", 10, "")
|
||||
Player:MessageToAll("MainScript Started 3", 10, "")
|
||||
|
||||
local Static = STATIC:FindByName("CommandCenter")
|
||||
local Transmiter = UNIT:FindByName("Transmiter")
|
||||
|
||||
local StaticRadio = Static:GetRadio()
|
||||
StaticRadio:NewGenericTransmission("Noise", 251000, radio.modulation.AM, 1000)
|
||||
StaticRadio:Broadcast()
|
||||
local Radio = Transmiter:GetRadio()
|
||||
Radio:SetFrequency(25)
|
||||
Radio:SetFrequency(89)
|
||||
Radio:SetFrequency(152)
|
||||
Radio:SetFrequency(500)
|
||||
Radio:SetFrequency("a")
|
||||
Radio:SetFrequency(225)
|
||||
Radio:SetFrequency(251.3)
|
||||
|
||||
Radio:SetFileName("Noise.ogg")
|
||||
Radio:Broadcast()
|
||||
BIN
Binary file not shown.
Reference in New Issue
Block a user