HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Need help with using triggers for custom abilities

03-02-2003, 08:16 AM#1
AZN-Enigma
Everyone probaly already knows this but me lol. Ok I made some new custom abilities and I want to use a trigger where if I click on this cusom ability button then this and that will happen, the problem is I don't see my custom abilities on the list that pops up in WE, is there a way to add my custom ability on that list?emote_confused

ps does anyone know where i can go on the web to look at blp files i dont have the graphic support to see it in imageextractor
03-02-2003, 09:21 AM#2
Guest
Custom abilities use the "order" string of the original spell it was based on. There is no way to create new order strings.

One of the easiest ways to create a trigger effect on a spell is to base it on a summoning spell. Then just detect when the summoning occurs and make the summoning unit invisible. If you know how to spell edit, then base it off a custom flying unit with a summoning duration of 1 sec.

If you want a spell with a POINT, base your custom spell of inferno. If you want it with no target, use water ele or feral spirit or convert one of the item summons like stone token.

Now obviously, this means that EVERYTHING has to be accomplished by your trigger. If that's what you want to do...great! :) If you want to simply ENHANCE an existing spell with additional effects...well, that's a more complicated problem.

You see, the only way we have to detect when a spell is cast is by detecting when the order is issued. Well, lots of things could happen in between issuing the order and the cast. The unit may need to move into range, or may get manaburned or stunned, etc. The nice thing about the "summon" method is that you are detecting the summoning, not the cast. That's why you avoid this problem. To fix this, you can try one of two methods...

Method 1: If you feel comforable using a little bit of custom text, go DL my SpellEnhancer from my signature. It fixes this problem.

Method 2: Go back to the summoning (use inferno to target point). The difference now is that you keep the hidden summoned flying creature around a bit and add the deisred ability to the flying creature instead. Order that unit to cast the spell as soon as it's summoned and enhance it with triggers. Problems with this method: 1) can't target units 2) caster spell effects come from the invisible unit (projectiles, flashes, warstomp or roar effects, etc), 3) There is a longer than normal delay since there are two castings (the summoning and the spell).
03-02-2003, 10:38 AM#3
AZN-Enigma
Im making this map to play on bnet do you recomment customs abilities with triggers for bnet or will it be a bad idea. Well Im trying to make this flame burn over my dwarf when he morphs to a different unit and then i want it to dissapper when the morph is done. I been working on trying to make this work for way to long now, im considering doing away with trigger abilities

wondering if i can just throw the special effects with a buffart and put it with with the metamorph unit.
03-02-2003, 06:24 PM#4
Guest
Yes. You can do that. I don't think you need to even add it to the Bxxx. I believe you could just put it with the normal Axxx, just use

Casterart=your.mdx
Casterattach=overhead

I'm assuming you want it overhead or at his feet (origin)