- Joined
- May 11, 2008
- Messages
- 1,198
I've seen spells like this, but I can't understand them and I can't do it for mine.
I've asked a little about this in another thread, but it wasn't the title of the thread and nobody helped me with it so here is a new thread with a more accurate title describing what i'm looking for.
Here is what i'm trying to do.
And I've done it, but it took me about 24 triggers or so.
Auto Flame Strike is the name of the ability.
Most of the time I find myself using auras alot with triggers, they seem easy to work with, you can do on the triggers looking for if a unit has buff and use the buff that goes with the aura.
So the Hero has 4 different Auras for the 4 different levels. like Devotion, Vampiric, Trueshot, Endurance, whatever. Anyway I got all those auras and buffs edited so they all look like Auto Flame Strike level 1-4. They are of course, auras that are only on the user. And then for the trigger...
Well let me say first of all that I'm only using one level of flame strike for this ability. I want the damage and radius and those kinds of things the same for each level. But since it's an automatic flamestrike casting ability, I want the flame strike to get casted automatically at regular intervals. I've been making it so that when the level goes up, the frequency increases. So it is set so that at level one, it strikes every 40 seconds, at level two, every 30 seconds, level three, every 20 seconds, and level 4, every ten seconds.
Anyway, I had alot of problems getting the flamestrike to level up properly, and I might've had problems with leaks along the way...So I ended up with 24 triggers or so and well, couldn't it all have been done in one very simply? But I don't know how. Anyway I'll take whatever solution you got, Jass or GUI or both or whatever. Here is the link to my map if you wanna check out the triggers: The Demon Hunt 0.937 - The Hive Workshop - A Warcraft III Modding Site
Off Topic:
Originally I had wanted to make it so that the flame strike hits a random area around the Hero, but I decided that I knew absolutely nothing about how to do that. So I settled for making it hit where the caster is. As you can tell by looking in the object editor the flamestrike doesn't hurt the Hero. I think I like this feature, so I don't think I'll change it.
P.S.
I downloaded that MasterHaosis map that Alexis Septimus made and used the timer trigger for my map. (for 0.938) (I had looked around but couldn't find any proper timers or timer variables that worked/that I could understand, before I had been stuck with using some bizzare counting of how much gold/lumber/food neutral extra and hostile have and nonsense like that, and then the leaderboard too.)Wow, cool. So...can you make additional timers then? and you don't need to make windows if you're just wanting to use them for variables for abilities, right? maybe I should use a timer expires event and timer variable for my ability? that might help? i'm not sure...but someone suggested that in an older thread.
I've asked a little about this in another thread, but it wasn't the title of the thread and nobody helped me with it so here is a new thread with a more accurate title describing what i'm looking for.
Here is what i'm trying to do.
And I've done it, but it took me about 24 triggers or so.
Auto Flame Strike is the name of the ability.
Most of the time I find myself using auras alot with triggers, they seem easy to work with, you can do on the triggers looking for if a unit has buff and use the buff that goes with the aura.
So the Hero has 4 different Auras for the 4 different levels. like Devotion, Vampiric, Trueshot, Endurance, whatever. Anyway I got all those auras and buffs edited so they all look like Auto Flame Strike level 1-4. They are of course, auras that are only on the user. And then for the trigger...
Well let me say first of all that I'm only using one level of flame strike for this ability. I want the damage and radius and those kinds of things the same for each level. But since it's an automatic flamestrike casting ability, I want the flame strike to get casted automatically at regular intervals. I've been making it so that when the level goes up, the frequency increases. So it is set so that at level one, it strikes every 40 seconds, at level two, every 30 seconds, level three, every 20 seconds, and level 4, every ten seconds.
Anyway, I had alot of problems getting the flamestrike to level up properly, and I might've had problems with leaks along the way...So I ended up with 24 triggers or so and well, couldn't it all have been done in one very simply? But I don't know how. Anyway I'll take whatever solution you got, Jass or GUI or both or whatever. Here is the link to my map if you wanna check out the triggers: The Demon Hunt 0.937 - The Hive Workshop - A Warcraft III Modding Site
Off Topic:
Originally I had wanted to make it so that the flame strike hits a random area around the Hero, but I decided that I knew absolutely nothing about how to do that. So I settled for making it hit where the caster is. As you can tell by looking in the object editor the flamestrike doesn't hurt the Hero. I think I like this feature, so I don't think I'll change it.
P.S.
I downloaded that MasterHaosis map that Alexis Septimus made and used the timer trigger for my map. (for 0.938) (I had looked around but couldn't find any proper timers or timer variables that worked/that I could understand, before I had been stuck with using some bizzare counting of how much gold/lumber/food neutral extra and hostile have and nonsense like that, and then the leaderboard too.)Wow, cool. So...can you make additional timers then? and you don't need to make windows if you're just wanting to use them for variables for abilities, right? maybe I should use a timer expires event and timer variable for my ability? that might help? i'm not sure...but someone suggested that in an older thread.