diff --git a/Scripts/spawnListener.lua b/Scripts/spawnListener.lua index d487537..2ed462e 100644 --- a/Scripts/spawnListener.lua +++ b/Scripts/spawnListener.lua @@ -23,39 +23,4 @@ do local typeName = base:getTypeName() or 'None' trigger.action.outText(typeName,10) end -end - - -local unit = Unit.getByName('Test-1-1') -if unit then - if unit:isActive() then - trigger.action.outText('Uncontroll is Active.',5) - else - trigger.action.outText('Uncontroll is not Active.',5) - local controller = unit:getGroup():getController() - local Start = { - id = 'Start', - params = { - } - } - controller:setCommand(Start) - if unit:isActive() then - trigger.action.outText('Start command can Active uncontrolled group.',5) - end - end -end - -if not unit then - trigger.action.outText('no unit.',5) -end - -local unit = Unit.getByName('Test-1-1') -if not unit then - trigger.action.outText('no unit.',5) -end - -if unit then - local desc = unit:getDesc() - local msg = mist.utils.tableShow(desc) - trigger.action.outText(msg,5) end \ No newline at end of file