From 751f84befd823ffb259141ddf75c25d7e4c30610 Mon Sep 17 00:00:00 2001 From: Applevangelist Date: Wed, 12 Oct 2022 16:22:58 +0200 Subject: [PATCH] #SCENERY --- Moose Development/Moose/Wrapper/Scenery.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Moose Development/Moose/Wrapper/Scenery.lua b/Moose Development/Moose/Wrapper/Scenery.lua index 445154037..377055e99 100644 --- a/Moose Development/Moose/Wrapper/Scenery.lua +++ b/Moose Development/Moose/Wrapper/Scenery.lua @@ -58,10 +58,10 @@ function SCENERY:GetThreatLevel() return 0, "Scenery" end ---- Find a SCENERY object by it's name/id. +--- Create a SCENERY object from it's name/id. --@param #SCENERY self --@param #string name The name/id of the scenery object as taken from the ME. Ex. '595785449' ---@return #SCENERY Scenery Object or nil if not found. +--@return #SCENERY Scenery Object - **Note** this might not point to anything useful. Check with `myscenery:IsAlive()` if it is valid. function SCENERY:FindByName(name) local findAirbase = function () local airbases = AIRBASE.GetAllAirbases()