• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

How can I trigger unit to use custom abilities?

Status
Not open for further replies.
You must look under actions and order the unit to use the ability your created spell is based off.
E.g. you used Storm Bolt for your ability, then you must order your unit to 'point order' a unit with 'human - storm bolt'
greetings
 
on your trgger that adds the spawning unit add the action
Action - set variable - (unit variable no array) = to last created unit.

then create a trigger

Event - A unit comes within 500 range of (unit variable that was set above)
Condition - Triggering unit is owned by (an enemy player like player 1 maybe)
Action - Unit Issue order targeting a unit - Issue (unit variable that was set above) to cast your custom spell on point of triggering unit
 
Status
Not open for further replies.
Back
Top