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!
im having a problem w unit in range of unit not kill a unit unless the unit leaves the range of a unit then enters range of the same unit is there any way to fix this ?
ok ill try to i have
the event set to detect unit in range of unit1
the condition is set to if boolean true
the action is set to kill triggering unit
but if a unit enters the area and the boolean is false (works fine) what doesnt work is when it changes from false to true and the unit is already in the range it doesnt kill him unless i take him out of the range then back in
ok ill try to i have
the event set to detect unit in range of unit1
the condition is set to if boolean true
the action is set to kill triggering unit
but if a unit enters the area and the boolean is false (works fine) what doesnt work is when it changes from false to true and the unit is already in the range it doesnt kill him unless i take him out of the range then back in
its just units in range my map has traps i guess u could say when ur in the trap u die but i needed to give ppl a warning so they could get out i use a boolean variable true means trap is active false means trap is seen by players when it switches from false to true and a unit is in range it doesnt do anything until the unit wlks out of range then back into range then it gets killed
Unit enters range is even that fires only once and will not fire again at least the triggering unit don't leave the detection range and reenter again.
Solutions:
Use Wait or create timer when a unit enters within range of the unit. Then start the timer and when the timer expire start another trigger that check if there are units within range of the unit and kills them. Note that the trigger that activate the time should be turned off or the timer will restart, then use wait and turn it on.
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.