HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Number of Units within a Transport

02-13-2004, 09:13 PM#1
LegolasArcher
I'd like to get the number of units in a specific transport- for example I load my unit with 2 villagers, I want to beable to get 2 as the number of units in the transport. Is this possible? I thought there was an integer funciton, but i myst be missing it
02-13-2004, 09:23 PM#2
BattleBotv8.2
I'm not sure if I understand you right but I think you want 3 guys ordered into a transport unit such as a Zepplin. I belive you can use this...

Unit - Issue Order Targeting Unit;
Order XUnit to Load/Board XUnit
02-13-2004, 09:33 PM#3
LegolasArcher
I want to get how many units are in a transport something like

TransportUnits takes unit transport returns integer

is the best way i could discribe it. I want to get the unitrs inside a transport currently
02-13-2004, 09:42 PM#4
BattleBotv8.2
Sorry, my mind is not good right now so I may not be much help, but I think you are saying you want to add XAmount to an interger once a unit enters a transport?
02-13-2004, 09:53 PM#5
LegolasArcher
Lets say I have a Transport ship. At anypoint in time I want to beable to get how many units are "inside" it. I dont wish to add/subtract integers when units are added/removed for there are too many factors in my map fo rthat to be effective.

If there are 1 unit in the ship I want to pass the unit to a function/action and beable to get that there is one unit in it
02-13-2004, 09:58 PM#6
BattleBotv8.2
The way you word your sentances, I cannot under stand what you are asking. Could you try making it more clear, its really hard to help.
02-13-2004, 10:15 PM#7
LegolasArcher
I dont see how much clearer I can make it.

I want to know how many units are currently being transported by a certian transport