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!
What in the hell do these actions do? I've been triggering stuff for quite a while now and have never used these since I have no idea what their purpose is. +rep for detail.
set bj_LOOP_INTEGER_A = 1
set bj_LOOP_INTEGER_A_MAX = 10
loop
set bj_LOOP_INTEGER_A = bj_LOOP_INTEGER_A + 1
exitwhen bj_LOOP_INTEGER_A > bj_LOOP_INTEGER_A_MAX
(Actions)
endloop
Therefore the trigger will do a loop of the number you want of actions.
Basically its for:
Actions -
Unit - call Kill Unit (Hero[Integer A])
The thing above there when is inserted to a loop, the action in the loop will take the integer of the loop and use it as the index of the variable. Therefore, the action above in a loop is same as:
It's actually one of the actions that makes triggering easy.
Instead of copying everything, you can just create a loop (like Ribenamania has explained perfectly).
I always use it for victory/defeat, hero-triggers and well... about every system that is used for multiple players.
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.