[Trigger] Force unit to cast ability

Status
Not open for further replies.

Deleted member 177737

D

Deleted member 177737

I'm trying to create a boss fight for my map. But I can't seem to make the boss cast the custom ability's that were made for him.

Does anybody know the trigger that allows you to force the unit to cast a spell/ability.

(Yes Ive looked through most of the unit triggers):confused:
 
Each ability has its own order string, IE: war stomp would be "stomp"
So it depends on what ability you based it off of.
 
Each ability has its own order string, IE: war stomp would be "stomp"
So it depends on what ability you based it off of.


Whats an order string?
I had someone else make the spells for me so I don't know.
 
Ask the person who made the spell, only way to know what they based it off of.

Order strings are found in the object editor, under the ability tab
 
Would it work if I just turn on the ability/spells trigger?, also the spells that there based on aren't in the options. (Its some passive aura ones...)
 
don't know how to use gui ether lol
 
There is a Unit - Add <ability> to <unit> action. Not too hard, I suppose. Just choose the ability you wish and your boss.
 
ok, but how will i make him cast it? (The ability's are equiped and he still does nothing)



Here's the map...
http://www.mediafire.com/file/z0tinmizgyl/The_Caves

just create a trigger to make him cast it at certain events or something.. example..
  • Event
    • Unit- Is attacked
  • Conditions
    • Unit-Type Comparison - Unit-Type of (attacked unit) = BOSS
    • //add some other like mana check or something
  • Actions
    • Unit- Order (attacked unit) to CastSpell on (attacking unit) //If the spell has a unit target
something like the above trigger for some simple things......
 
Status
Not open for further replies.
Back
Top