Loading-unloading unit

nicolas

New Member
Reaction score
2
Hi there,

Today i wanted to create a trigger that counts the unit loaded into a specific building. when there are more then 2 units loaded into the building then it will gain some sort of ability. Now i have been looking for the condition which checks the load count but i cant seem to find it. what i got now is:

Towers multiple
Events
Unit - A unit Is loaded into a transport
Conditions
(Unit-type of (Loading unit)) Equal to Archer
(Supply used by (Transporting unit)) Greater than or equal to 2
Actions
Game - Display to (All players) the text: TEST

The test message is just for well.. testing:)

Though the supply used condition doesnt seem to work so it isnt that con to check the load count into the building. my question is with what condition can i check when a building loads more as 2 units into it.

Thx in advance
 

hgkjfhfdsj

Active Member
Reaction score
55
perhaps use an integer that counts the number of units that is (un)loaded each time then use this condition instead? (i dont think a CountUnitsLoaded exists afaik :p)
 

Accname

2D-Graphics enthusiast
Reaction score
1,464
supply used by unit is how much food it costs as far as i know.
you cannot directly check how many units are loaded inside a transporter.
but you can pick all units owned by the owner of the transporter and count the ones which are loaded inside that transporter unit.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top