HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Help with an unloading limitation

06-28-2004, 11:43 PM#1
Lil Blue Smurf
Okay, I have come across a big problem for me.
When you unload a unit from a transport, there are certain that for some reason don't work right on that unit in the same trigger.

Example:
If I do a

unit - move instantly (target unit of issued order)

the unit is not moved, the command seems to be ignored

That was just something I found when trying to find a work around for this problem:
If I do a

unit - remove (target of issued order)

and there are more than 2 units in that transport, multiple units are taken out of the transport (as least according to the portraits) but only 1 space is opened up. In other words, if I have that in my trigger, and I click on a unit portrait in a transport, then more times than not, 2 portraits are removed from the transport, but only 1 space is made available (only 1 box is taken off the little bar over the unit)

What I need is simple. When a unit is unloaded from a transport it just needs to be removed, with no glitches. I am posting this demo just so people can see what I am talking about, it was done quickly so there might be mem leaks or whatever in this, I am not worried about that there won't be in the real map. I just need help figuring out how to do this and make it at least LOOK clean to the players.