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

[Spell] Problem with cast custom spell

Status
Not open for further replies.
Level 1
Joined
Mar 14, 2020
Messages
4
can somebody help me i want to cast spell from my boss if something attack him
boss name is Mother 0235 <gen>
and Spell Name is PAADAAAA (wont cast it auto) (spell int to target)

i try some custom scripts but doest work
thx for info and sry for eng
 
Last edited:
Level 6
Joined
Dec 31, 2017
Messages
138
Activate when the unit is attacked (when attack is initiated to be more specific):
1. Event: Unit - Specific Unit Event - (Your unit) is attacked
Order unit to use the ability your custom ability is based on:
2. Action: Unit - Issuie order with no target - Order (Your unit) to "use ability"
So, if "PAADAAAA" is based on Thunder Clap, Order (Your unit) to Human Mountain King - Thunder Clap
 
Level 1
Joined
Mar 14, 2020
Messages
4
thx for help and sry for wrong post
dont have problem with event
i have problem with action
paadaaaa spell is bassed on starfall so no target spell i think
 
Status
Not open for further replies.
Top