Version 1.03

The Debugger
This commit is contained in:
Christian Franz
2022-07-14 08:09:21 +02:00
parent cb3cd4ccd2
commit 780797aba3
13 changed files with 1467 additions and 44 deletions

View File

@@ -1,6 +1,6 @@
impostors={}
impostors.version = "1.0.0"
impostors.version = "1.0.1"
impostors.verbose = false
impostors.ups = 1
impostors.requiredLibs = {
@@ -15,6 +15,11 @@ impostors.callbacks = {}
impostors.uniqueCounter = 8200000 -- clones start at 9200000
--[[--
Version History
1.0.0 - initial version
1.0.1 - added some verbosity
LIMITATIONS:
must be on ground (or would be very silly
does not work with any units deployed on ships
@@ -379,6 +384,12 @@ function impostors.delayedSpawn(args)
local newGroup = coalition.addGroup(ctry, cat, rawData)
impostors.relinkZonesForGroup(relinkZones, newGroup)
if newGroup then
-- trigger.action.outText("+++ipst: SUCCESS!!! Spawned group <" .. newGroup:getName() .. "> for impostor <" .. rawData.name .. ">", 30)
else
trigger.action.outText("+++ipst: failed to spawn group for impostor <" .. rawData.name .. ">", 30)
end
if theZone.trackWith and groupTracker.addGroupToTrackerNamed then
-- add these groups to the group tracker
if theZone.verbose or impostors.verbose then