mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
Add checks and trace for RADIO:New
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
BASE:TraceAll(1)
|
||||
BASE:TraceLevel(1)
|
||||
BASE:TraceOnOff(true)
|
||||
BASE:TraceClass("RADIO")
|
||||
BASE:TraceLevel(3)
|
||||
|
||||
|
||||
local Player = UNIT:FindByName("Player")
|
||||
Player:MessageToAll("MainScript Started 2", 10, "")
|
||||
|
||||
local Static = STATIC:FindByName("CommandCenter")
|
||||
|
||||
local StaticRadio = Static:GetRadio()
|
||||
StaticRadio:NewGenericTransmission("Test Voice.ogg", 251000, radio.modulation.AM, 1000)
|
||||
StaticRadio:NewGenericTransmission("Noise.ogg", 251000, radio.modulation.AM, 1000)
|
||||
StaticRadio:Broadcast()
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user