When share is on and units are given they seem to trigger their death explosions. For instance, SCUs., which makes bases blow up.
Is that possible to fix? Any hints what lua-files to look in would be appreciated.
Forged Alliance Forever Forums
Moderators: FtXCommando, Ze Dogfather
WaitSeconds(1) -- to prevent units triggering death explosions
local killacu = self:GetListOfUnits(categories.ALLUNITS - categories.WALL, false)
if killacu and table.getn(killacu) > 0 then
for index,unit in killacu do
unit:Kill()
end
end
Users browsing this forum: No registered users and 1 guest