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

Order Unit To Cast Ability

Status
Not open for further replies.
Level 6
Joined
Feb 18, 2010
Messages
153
How do i order a specific unit, to cast a specific ability on cooldown ect

Also While Am Here

I Got This Trigger

  • HealthTest
    • Events
      • Unit - TestUnit <gen>'s life becomes Less than 425000.00
    • Conditions
    • Actions
      • Unit - Order TestDummy 0006 <gen> to Right-Click RandomItem 0070 <gen>
      • Trigger - Turn off (This trigger)
it picks it up as soon as TestUnit gets attacked it doesnt wait, i know it prob a simple fix but i not sure what it is
 
Last edited:

EdgeOfChaos

E

EdgeOfChaos

Just use the Order Unit functions, using the ability you based it off of. Example: if you make a custom slow, order the unit to "Human Sorceress - Slow" the other unit.

I don't get your question with the pickup trigger. You don't have it waiting at all.
 
Level 6
Joined
Feb 18, 2010
Messages
153
TestDummy picks up the item instantly when TestUnit gets attacked, so TestUnit hits 499999 health and the TestDummy picks up the item, doesnt wait till TestUnit hits 425000 health
 
Level 12
Joined
Feb 22, 2010
Messages
1,115
Put a game - text message as first action to see if trigger is running when TestUnit hits more than 425000.
 
Status
Not open for further replies.
Top