HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Ability Code

08-23-2003, 06:54 PM#1
danmage1
Anybody know the ability code for hero skill upgrade? And another question:
Is it possible to create a spellbook ability within a spellbook ability? So far I have been unsuccessful because the spells from the spellbook inside the other spellbook just appear as if they were part of the first spellbook. ://// Confusing!!

Dan
10-29-2004, 07:04 PM#2
Guest
Im guessing you mean:

1st ability - Spell book, firebolt, stormbolt
(then inside that spellbook)
Spell book, firebolt, stormbolt?

this is happening because you are using the same spellbook, try creating 2 spellbooks and put the spell into each one differently
10-30-2004, 03:21 AM#3
Kelna2
To find the ability code go into the object editor and press ctrl (control) + D. Next to teh name of the ability should be the ability code. to change back to the normal view of the object editor press ctrl + D again. thats wut u wanted right?
10-30-2004, 12:37 PM#4
xGT4x
No, it isn't what he wanted because he needs the code of the button which you use to spend your skill points into abilities which isn't viewable in the Ability editor!
10-30-2004, 01:46 PM#5
Gandalf2349
I don't think it has an ability code, but the best way to find out is:

Code:
Events
 -A Unit uses an Ability
Conditions
Actions
 -Game Display (Ability Code of (Ability being Cast))

I'm pretty sure they have that function in there somewhere. I'm pretty sure you have to use a (Convert Ability to String) Function. Thats how you find unit names.