• Check out the results of the Techtree Contest #19!
  • Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Assistance with Autocast

Status
Not open for further replies.

JorgonVonStrangle

J

JorgonVonStrangle

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.
 
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--
 
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.
Back
Top