| 07-06-2003, 12:07 AM | #1 |
i've had my mind on that for a little while, but i can't seem to make it work, through the ability editor, even though i do associate an icon, put it in the right place, make it a hero ability etc, it simply won't show up on the command card (i base that off the chest of gold item ability btw) now i've also tried doing it through triggers, with a nothing-doing devotion aura, but when i run a check on the level of the skill (to figure out the amount of gold gained) i can't select my custom skill in the drop down list, AND there is no custom data box to just enter a code either ... any interesting ideas ? anyone already got something similar to work ? |
| 07-06-2003, 05:13 AM | #2 |
There is a new item that is a chest of gold. Try using its ability. |
| 07-06-2003, 05:36 AM | #3 | ||
Quote:
Quote:
|
| 07-06-2003, 05:56 AM | #4 |
Guest | maybe gold trigger1 events:hero learns hero ability cond:learnd ability equal to gold aura actions:turn on gold trigger2 gold trigger2(off in the start) events: every five sec cond: hero is alive actions: add 5 gold to owner of hero something like that |
| 07-06-2003, 09:13 AM | #5 |
Hmm... I could have given that answer on the spot but I thought he wanted to make a spell-only thingy? |
| 07-06-2003, 10:37 AM | #6 | |
Quote:
It's easy to fix that. Just convert it to custom text and then insert the custom spell code instead of what was there. That is the only way I know of to check hero skill level in a skill, kind of lousy, but it works perfectly. |
| 07-06-2003, 12:44 PM | #7 |
woa woa, is there a condition that can check the level of a spell cause i cant find it. WHere is it? |
| 07-06-2003, 02:30 PM | #8 | |
Quote:
No.. But do like this Events: Hero - Hero gains a skill Conditions: Hero skill == (Whatever) Actions: Set variable SkillLevel to SkillLevel + 1 (Skill Level can of course be named anything, it's just a simple integer variable) Then go into the menu Edit, select "Convert to Custom Text". Then you check where the ability code is and then you change it to whatever your code is. If you want to know what your ability code is, just go into the ability editor, and press control-D Then you will see the abilitycodes of all spells. |
| 07-06-2003, 07:33 PM | #9 |
ach, there we go. I wanted to use that but it wouldnt let me put in my code for my custom spell. I never thought of converting it to text, thx a lot dude. |
| 07-06-2003, 07:58 PM | #10 |
Yeah, you would think that they would have inserted the function of having custom spells there, did they forget it or what? |
| 07-06-2003, 11:57 PM | #11 |
Why not simply base it on this gold ability by orcish units. Pretty easy to handle |
