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

[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:
 
Level 6
Joined
Mar 20, 2008
Messages
208
Each ability has its own order string, IE: war stomp would be "stomp"
So it depends on what ability you based it off of.
 

Deleted member 177737

D

Deleted member 177737

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.
 
Level 6
Joined
Mar 20, 2008
Messages
208
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
 

Deleted member 177737

D

Deleted member 177737

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

Deleted member 177737

D

Deleted member 177737

don't know how to use gui ether lol
 
Level 11
Joined
Feb 14, 2009
Messages
884
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.
Top