Re: Force Landing for lus or gadget
Posted: 07 Apr 2011, 07:01
Perhaps the solutions are more complicated than required. Can't you just intercept the move/load orders for a "downed" plane?
Code: Select all
-- put landed units in this table
local LandedUnits = {}
function gadget:AllowCommand(unitID, ...) do
if LandedUnits[unitID] then
return false -- ignore the command
else
return true -- do the command
end
end