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

Use ability in a trigger...

Status
Not open for further replies.
Level 31
Joined
Jun 27, 2008
Messages
2,557
Hm. Each custom ability is primal structure of original ability. For example you right click on Death Coil and push Create Custom Ability and it creates you another Death Coil which may be edited, so this is my custom ability. Then I set trigger events, conditions and action would be: Unit - Issue Order Targeting A Unit. Then set the one who has the ability and order to Undead Death Knight - Death Coil your target. Issue Order Tageting A Unit are abilities who has specific target, Targeting A Point are those that targets point or area of effect and No Target action for those abilities that has no target at all, like buffing up or etc.
 
Level 20
Joined
Jul 14, 2011
Messages
3,213
Abilities have an Ability ID, and a Text - Ability Order.

The Ability ID is a number that identifies the ability. If you have 2 abilities based on the same, they will both have the same Ability ID, and they both will be detected as "casted" even if you just used one of them. It's "buggy".

The same happens if two abilities have the same text order ID, but these can be changed. The order ID is the... "order" you give to the unit when you cast it. You order your unit to "attack" to "move" and to "thunderbolt" or "flamingarrow" or "wispharvest".

The only abilities that allows you to modify the Ability ID are Channel and Spellbook.

Warcraft has actions to cast most of the skills, but not all of them. You can give unit orders that aren't listed in the "Action" list using custom scripts.

Yes, you can do whatever you want with triggers.
 
Last edited by a moderator:
Status
Not open for further replies.
Top