Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
Use Bribe's Unit Event (in spells section) to count when a unit enters or leaves a transport, then save this amount to an integer array, indexed by the transport's custom value.
Set number = (Load 0 of (Key (Transporting unit)) from loadTable)
Set number = (number + 1)
Hashtable - Save number as 0 of (Key (Transporting unit)) in loadTable
However, there deosn't seem to be any event to track when a unit is unloaded from a transport... Wich means you can't track when units leave and this will inly track the total of units wich have been transported in a certain transport.
I'd suggest you use Bribe's Unit Event as RulerofIron said.
I could pick every unit near the unload area and compare them to the unit group from the added units, that system you refered towas to complicated for me to follow. :>
Load > add unit to group
Unload ability > pick every unit in area and compare them to the unload ability if they count as being in that area i could move them to a corner (*Looks away in shame.*)
Btw I dropped a suggestion in your spell Limit Attackers
Hashtables are really convinient, i'm currently learning about them myself. I have a basic understanding but man, it has taken my triggering to a new level to say the least.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.