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

Auto Cast Ability Help?

Status
Not open for further replies.
Level 3
Joined
Jun 28, 2018
Messages
36
Hi I have created a custom tower and I have given it a custom

autocast ability and the ability works perfectly but I don’t know how

to make it so that when the tower is built that the ability must be

activated onto autocast automatically by itself because I still have to

rite click on autocast to activate it but I want it to be activated automatically

immediately by itself as soon as the tower is built, any help please, thanks.
 
Level 30
Joined
Feb 18, 2014
Messages
3,623
You can order a unit to activate an autocast ability either by editing the unit's Default Active Ability, under abilities in the Object Editor or by using triggers.
Example:
  • Unit - Order (Your unit) to Human Sorceress - Activate Slow
 
Level 3
Joined
Jun 28, 2018
Messages
36
Hi thank you for the reply but I have tried everything and I just
can’t get it to work my trigger looks like shown below
Events
Unit - A unit Finishes construction
Conditions
(Unit-type of (Constructed structure)) Equal to My Tower
Actions
Unit - Order (Constructed structure) to Night Elf Dryad - Activate Abolish Magic
and then instead of Abolish Magic I will have a custom ability but a custom
ability does not show up in the menu when I am trying to write the trigger
but I have tested it this way with Abolish Magic and it does not work I also
tried to put it in the object editor by Default Active Ability and that does not
work either, any other suggestions? Ok thanks again.
 
Last edited:
Status
Not open for further replies.
Top