Missile.GetCfg||doc136914

September 20, 2022

Format

local cfg = Missile.GetCfg(fullName)
  • Class that Function belongs to : Config
  • Call limit : Common

Description

Get configuration information of Missile templates.

Parameters

Variable name Type Description
fullName string template path, path format is "myplugin/".. "templateID"

Code Samples

Create an Missile template with the ID "testMissile", then use code to get its configuration information and print it

local cfg = Missile.GetCfg("myplugin/" .. "testMissile")
for k, v in pairs(cfg) do
    print(k, v)
end