From bbcf6c4717f054d1bc48b50bcf93cc526520b07e Mon Sep 17 00:00:00 2001 From: Grey-Echo Date: Wed, 19 Apr 2017 15:46:53 +0200 Subject: [PATCH] Implements POSITIONNABLE:GetBeacon() --- Moose Development/Moose/Wrapper/Positionable.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Moose Development/Moose/Wrapper/Positionable.lua b/Moose Development/Moose/Wrapper/Positionable.lua index e6bd95cd3..3d17d925a 100644 --- a/Moose Development/Moose/Wrapper/Positionable.lua +++ b/Moose Development/Moose/Wrapper/Positionable.lua @@ -450,3 +450,11 @@ function POSITIONABLE:GetRadio() self:F2(self) return RADIO:New(self) end + +--- Create a @{Radio#BEACON}, to allow this POSITIONABLE to broadcast beacon signals +-- @param #POSITIONABLE self +-- @return #RADIO Radio +function POSITIONABLE:GetBeacon() + self:F2(self) + return BEACON:New(self) +end