HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trigger check for hero ability can't be custom?

08-09-2003, 10:16 PM#1
Abu
I'm trying to make a trigger like this:

Event:
Unit - Learns skill

Condition:
Learned Hero Skill = *My Spell*

Event:
Etc. etc.

The problem is I can't put in my spell since I must select from a list and they're only default blizzard spells. How can I get around this?
08-09-2003, 10:22 PM#2
hodi
Search Button knows... oh well I´ll tell ya.

First, create a new Trigger (you can delete it l8er) with nothing but a condition.

E-
C-Learned Hero Skill = (Whatever)
A-

Now, simply convert this Trigger into custom Text allowing you to see the 4 digit code of the spell u chose as (Whatever).
Copy&Paste this Line into your real trigger (Use Custom Text as Condition).
And now open up the Object Editor-> Abilities and chose Display as RawText, now put the Digit Code of your CustomSpell to your trigger.

hodi
08-09-2003, 10:40 PM#3
Abu
Thanks. I do try searching first always but most people dont use descriptive titles and I dont like searching through 30 pages of topics titled "HELP!" That takes way too long when there are nice people willing to help :)