🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece!🔗 Click here to enter!
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.