• 🏆 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!

Custom Targets for Entangle Gold Mine, Harvest, and so on (No triggers)

Level 3
Joined
Aug 11, 2018
Messages
15
Hello yall got a weird little question, so I've made a custom gold mine I want some non-wisp units to use, however, my Tree of Life keeps on Entangling it and screwing it up, i have tried tweaking "targets allowed" setting it only to "non-ancients" and making my custom goldmine "ancient", but it keeps ignoring the conditions. Check Dependency is on fyi.

Same thing for the custom unit. I try to use the Harvest (Gold and Lumber) ability and set targets allowed to only (trees and ancients) so they don't harvest from conventional gold mines, yet they still do. Any advice or is this one of those weird hard coded crap? Any tricks yall can share would be great!
 
Level 3
Joined
Aug 11, 2018
Messages
15
I tried making the custom gold mine spell immune but that doesnt seem to work yet is so simple
 

Uncle

Warcraft Moderator
Level 65
Joined
Aug 10, 2018
Messages
6,721
I tried making the custom gold mine spell immune but that doesnt seem to work yet is so simple
This prevents it from entangling the gold mine (at least manually):
  • Prevent Entangle Gold Mine
    • Events
      • Unit - A unit Is issued an order targeting an object
    • Conditions
      • (Issued order) Equal to (Order(entangle))
    • Actions
      • Unit - Pause (Triggering unit)
      • Unit - Order (Triggering unit) to Stop.
      • Unit - Unpause (Triggering unit)
 
Top