For my upcoming map Aliens : Lockdown, I have a Dropship System it works as an inventory, walk by units it loads them into a loading bay and the dropships load them into ur 'Inventory'. But my problem is what if the dropship becomes full? how would i have a trigger to detect it being full, if the dropship is full and the unit is just standing there this messes up the game, any ideas how i could fix this problem before it even gets to the loading bay?
Thanks
--Vizual
I encountered this problem, and i never really bothered with the dropshio system with my maps. No clue what to do, and we know some units take more than 2 slots.
True. Maybe have more than one dropship? like more than the players ( like 8..) and a big loading bay or w/e..
thats like it.. i dont think even EUD's can detect a Hangar unit's Cargo. Unless someone looked for it. It would definitely be a useful invention though.
Maybe you can dtect how many went in the dropship by detecting how many came to the location of the dropship, then u could do something about it if to many people come..
The only thing I could think of is to keep track of whenever a unit gets given or lost at the dropship, unless units aren't being given there by triggers (if player builds stuff to be loaded up)
Thats what i said/ment..
if they bring men to the location, keep track of them
Or maybe, make it if they load into the dropship, u put a location there so you know when they have come to the location. Then create 1 of those units in a small 6x6 area or something for a computer player, then make the condition if theres x amount of men, do whatever you need to do.
Just directly detect how many units are in an air location where the dropship is, duh.

QUOTE
Just directly detect how many units are in an air location where the dropship is, duh
What? it can detect units in the dropship?
Yes... I found that out in one of my maps. Make it so the certain location is like for air only or something like that. Then do your little cargo detection thing and then it will only detect the units in the dropship and not on the ground.
I agree with the double or triple dropship ideas... I think that hotkeying the ships would be great to easily look at what you have in your inventory.
QUOTE
Yes... I found that out in one of my maps. Make it so the certain location is like for air only or something like that. Then do your little cargo detection thing and then it will only detect the units in the dropship and not on the ground.
I agree with the double or triple dropship ideas... I think that hotkeying the ships would be great to easily look at what you have in your inventory.
wow? so it just detects the units in the dropship? does this include the dropship itself? or just units in side?
QUOTE(VizuaL @ Dec 12 2005, 06:39 PM)
wow? so it just detects the units in the dropship? does this include the dropship itself? or just units in side?
[right][snapback]377440[/snapback][/right]
Using the general Men parameter, it wouldd include the Dropship and all the units in the Air location-- which is why you can detect a ground unit being in a Dropship in the first place.