• 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.

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