Advertisement

  Trigger List Changed by Heeeere's johnny!
Editing and Scripts
 

Heeeere's johnny! informed us he released an updated version of his Trigger List Changed script on the BI forums.

    Quote :
    This script is about handling units which enter or leave a trigger's list. This is different from handling "thisList" or "all units inside/outside the trigger".
    It's easy to handle units in the trigger's "thisList", but handling only those which just entered or just left is a different story.

    Such distinction might be important for instance if a certain value/operation should be added/reduced/applied/executed only on such units or when a unit enters in the very same 0.5 seconds as another unit leaves, which would let the number of units in thisList remain unchanged while one unit is actually different.

    Changelog:
    • added "isCall" parameter -> if true, trigger statements will be called, else they will be spawned
    • hardcoded the generated functions into the trigger statements (no setVariable/getVariable anymore)


Written on 2015-10-02 10:25 by Heeeeres Johnny  

User submissions

Submit News Submit Files

Advertisement