| 06-27-2006, 05:05 AM | #1 |
I'm on vacation right now, so please don't tell me to go test this myself, I can't. If I were to add an ability to a hero, would that ability be learned or have to be learned? Or is there a way to add an ability to a hero and make it learned (if the above mentioned doesn't work) Sorry for asking such a noobish question... I'd test this myself but I won't be back at my computer for a couple more days. |
| 06-27-2006, 06:39 AM | #2 |
Yes, adding an ability will add it at level 1, since an ability must have at least one level to be used. |
| 06-27-2006, 06:42 AM | #3 |
But you cant then increase its level, its set at lvl 1. |
| 06-27-2006, 07:04 AM | #4 |
Actually Tiki, you can increase it or decrease it, for that matter; though, I don't think you can decrease it below level one in order to remove it. |
| 06-27-2006, 07:10 AM | #5 |
No, if you add a spell to a hero using triggers. The spell is set at level 1 and is not in the heros spell list to which he can increase its level with skills. |
| 06-27-2006, 07:17 AM | #6 |
Oh, that's what you meant, I was talking about the IncUnitAbilityLevel function. |
| 06-27-2006, 07:19 AM | #7 |
The only way to be able to level up dynamically added abilities is using a triggered system, such as a spell book leveling up system (adding the learning abilities to the spell book using Vex's method for that). If you only have 5 possible abilities for the hero to learn, just give them to him in the object editor, and disable them to start off with. |
| 06-27-2006, 02:22 PM | #8 |
Hold on a second... I re-thought my plan of action, so let me re-instate my question. If you REMOVE an ability, will it still be able to be leveled up? What I;m doing is making a dummy passive spell for an active spell. You learn the dummy spell, then right before night comes, it is removed and replaced with the active one, leveled up according to the dummy spells level, which is then used via triggers, and when the spell is done the dummy spell in put back in. Will the dummy spell still be able to be increased in level with skill points afterwords? |
| 06-27-2006, 02:53 PM | #9 |
Probably not. Use disable instead. |
| 06-27-2006, 03:10 PM | #10 |
You cn disable them? That's what I wanted to do in the first place but I couldn't find the action! Do you know where it is? Becuase I looked forever and never found it. |
| 06-27-2006, 03:17 PM | #11 |
You can make a system to 'purchase' hero skills and they'll be fully levelable as if they were pre-set. |
| 06-27-2006, 03:20 PM | #12 | |
Quote:
World editor has a search function for functions. Look for 'disable'. |
| 06-27-2006, 04:15 PM | #13 | ||
Quote:
Quote:
He dosent have World Editor, hes on holiday. As far as i know, you can only disable a ability for a player and not a single unit. The action to do this is: Trigger: Actions
![]() Player - Disable 'Your Ability' for 'Your Player' |
| 06-27-2006, 04:29 PM | #14 |
hmmm... i guess that could work tide... I could make seperate triggers for each player and make them activate according to one trigger. It's hard to think of without the WE on hand, but I'll have it by thursday, and I'll try it out then. I tihnk the disable for all would work since you can only have 1 hero of this type per player. I would just make a player group and then do stuff. Like I said, without WE on hand whatever I'm saying could be wrong, I wouldn't know right now. |
