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!
I was wondering if it was possible to make a trigger where if a car runs over a critter like for example a chicken, the critter dies. I haven't been able to find a way to do this. I could use some help.
Unit Group - Pick every unit in (Units within 128.00 of (Position of MyHero) matching ((Matching unit) Not equal to MyHero)) and do (Actions)
Loop - Actions
Unit - Turn collision for (Picked unit) Off
Unit - Kill (Picked unit)
It leaks and you may want to set other restrictions for units to be killed. Set the range to something reasonable. You may want to turn collision off for all critters by default, since your unit will try to automatically navigate past them if they have collision on.
Or this maybe better:
Init
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
Trigger - Add to Kill Unit 2 <gen> the event (Unit - A unit comes within 256.00 of MyHero)
I've tryed these triggers and I think in order for these triggers to work you must pick a specific unit. What I want is where any general car runs over any critter and the critter dies. These triggers don't seem to fit my needs. Sry =P
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.