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