• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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 64
Joined
Aug 10, 2018
Messages
6,543
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