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

Assistance with Autocast

Status
Not open for further replies.
Level 2
Joined
Apr 22, 2008
Messages
10
I'm working on a spell called 'Starfall Shot,' which creates a quick starfall each time the caster attacks. It's an autocast ability, and the Trigger
only works if you manually target something. I'm wondering how to make the trigger work with autocast on.
 
Level 27
Joined
Feb 22, 2006
Messages
3,052
If you use the following triggers:
  • Starfall Turn On
  • Events
    • Unit - A Unit is issued an order
  • Conditions
    • Order - Issued order is equal to "yourabilityoncodehere"
  • Actions
    • Trigger - Turn on Starfall Attack
  • Starfall Attack
  • Events
    • Unit - A Unit is attacked
  • Conditions
    • Attacking Unit is equal to YourUnit
  • Actions
    • ---Your Actions here---
  • Starfall Turn Off
  • Events
    • Unit - A Unit is issued an order
  • Conditions
    • Order - Issued order is equal to "yourabilityoffcodehere"
  • Actions
    • Trigger - Turn off Starfall Attack
The on and off codes should be located in your ability, they should be like "manashieldon" and "manashieldoff" or "firearrowson" and "firearrowsoff". They're under the Text - Order String - Activate and Text - Order String - Deactivate fields.
--donut3.5--
 
Level 3
Joined
Aug 20, 2008
Messages
40
If you use the following triggers:
  • Starfall Turn On
  • Events
    • Unit - A Unit is issued an order
  • Conditions
    • Order - Issued order is equal to "yourabilityoncodehere"
  • Actions
    • Trigger - Turn on Starfall Attack
  • Starfall Attack
  • Events
    • Unit - A Unit is attacked
  • Conditions
    • Attacking Unit is equal to YourUnit
  • Actions
    • ---Your Actions here---
  • Starfall Turn Off
  • Events
    • Unit - A Unit is issued an order
  • Conditions
    • Order - Issued order is equal to "yourabilityoffcodehere"
  • Actions
    • Trigger - Turn off Starfall Attack
The on and off codes should be located in your ability, they should be like "manashieldon" and "manashieldoff" or "firearrowson" and "firearrowsoff". They're under the Text - Order String - Activate and Text - Order String - Deactivate fields.
--donut3.5--

can you more detailed describe
because i make my skill from your example but nothing works...
 
Status
Not open for further replies.
Top