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!
For the event, you can either cover any dark grass location in a region and use the TriggerRegisterEnterRegion event or you periodically check whether the terrain type beneath a unit's feet is equal to the dark grass type. Do you also have problems with applying the buff? How about a command aura that only targets self for example.
There should be no problem since you can add units that start event about entering dark grass to an unit group, and then do actions. Remember to give condtion for removing units if they left the given terrain type.
If you still don't understand i can make a simple test map for you.
please do, i'm lil bit confused
BTW: effect of trigger shouldn't work for all units of unit type around map. just for single unit of unit type... hope you understand me, too hard to write that
Use the same trigger like in my test map above, but just change actions:
creep
Events
Time - Every 0.50 seconds of game time
Conditions
Actions
Custom script: set bj_wantDestroyGroup = true
Unit Group - Pick every unit in (Units in (Playable map area) matching ((((Matching unit) is dead) Equal to False) and ((Unit-type of (Matching unit)) Equal to yourunit))) and do (Actions)
Loop - Actions
Set Temp_point = (Position of (Picked unit))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Terrain type at Temp_point) Equal to YourTerrainType
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.