mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
#CSAR
* Docu corrections
This commit is contained in:
parent
d82bce79c9
commit
4ae0089e4f
@ -389,7 +389,7 @@ end
|
|||||||
-- @param #SPAWN self
|
-- @param #SPAWN self
|
||||||
-- @param #table SpawnTemplate is the Template of the Group. This must be a valid Group Template structure!
|
-- @param #table SpawnTemplate is the Template of the Group. This must be a valid Group Template structure!
|
||||||
-- @param #string SpawnTemplatePrefix is the name of the Group that will be given at each spawn.
|
-- @param #string SpawnTemplatePrefix is the name of the Group that will be given at each spawn.
|
||||||
-- @param #string SpawnAliasPrefix (optional) is the name that will be given to the Group at runtime.
|
-- @param #string SpawnAliasPrefix is the name that will be given to the Group at runtime.
|
||||||
-- @return #SPAWN
|
-- @return #SPAWN
|
||||||
-- @usage
|
-- @usage
|
||||||
-- -- Create a new SPAWN object based on a Group Template defined from scratch.
|
-- -- Create a new SPAWN object based on a Group Template defined from scratch.
|
||||||
@ -403,7 +403,7 @@ function SPAWN:NewFromTemplate( SpawnTemplate, SpawnTemplatePrefix, SpawnAliasPr
|
|||||||
local self = BASE:Inherit( self, BASE:New() )
|
local self = BASE:Inherit( self, BASE:New() )
|
||||||
self:F( { SpawnTemplate, SpawnTemplatePrefix, SpawnAliasPrefix } )
|
self:F( { SpawnTemplate, SpawnTemplatePrefix, SpawnAliasPrefix } )
|
||||||
if SpawnAliasPrefix == nil or SpawnAliasPrefix == "" then
|
if SpawnAliasPrefix == nil or SpawnAliasPrefix == "" then
|
||||||
BASE:I( "ERROR: in function NewFromTemplate, required paramter SpawnAliasPrefix is not set" )
|
BASE:I( "ERROR: in function NewFromTemplate, required parameter SpawnAliasPrefix is not set" )
|
||||||
return nil
|
return nil
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user