| 07-24-2003, 05:18 PM | #1 |
What I want to do is keep track of the current level of the skills on my custom Hero, then train those same skills to the same level on a replacement Hero? But the list in the WE only provides the EXISTING Hero skills, and none of the ones I made myself... I tried using the skill they are based on (Like "Train Far Seer - Chain Lightning" for my Shadow Hunter's Chain Lightning spell) but that doesn't do any good. Can I do this, or am I going to need one of the advanced editors? |
| 07-24-2003, 05:25 PM | #2 |
Try using variables setting a abillty-variable to abillity beeing cast or something then give unit abillity-variable. |
| 07-24-2003, 07:33 PM | #3 |
You'll have to use custom text for this. Set up a trigger to do everything that you want, leaving the condition set to some random skill. Make a copy of it, and disable the copy. (Just so you can go back to the copy to redo things if you wish. There is no way to convert a trigger back from custom text.) Open up the edit menu of the trigger editor and hit 'Convert to custom text.' Now, open up the object editor. Go to your custom ability, then pick 'Display values as raw data' from the view menu. All the skills in the left window will now have a 4 or 8 digit code in front of them. (Something like: A00I:Asph.) The first four digits of your custom ability's code (The 'A00I' in this case) are what we need. Now, back to the trigger. Near the top of the text will be something like this: Code:
if ( not ( GetLearnedSkillBJ() == 'AHbz' ) ) then
return false
endif
return truePaste your 4 digit code in place of the one that is there. (AHbz in this case.) That's it. |
| 07-24-2003, 08:26 PM | #4 |
Very clever! Thank you much! |
