|
|
|
|
| World Editor Help Zone Ask general questions about World Editor features and use in this forum. If you need help fixing a trigger, please post it in Triggers & Scripts. Please review the forum rules before posting. |
 |
12-16-2007, 08:54 PM
|
#1 (permalink)
|
|
User
Join Date: May 2007
Posts: 26
|
Turning arrow spells into melee spells
I hope this hasn't been asked before, but does anyone know if it's possible to convert arrow spells such as Searing Arrows/Cold Arrows/Black Arrow into melee spells that would have the same effects? For instance, when the Blademaster uses Searing Arrows, he causes extra fire damage.
Or, does anyone know if it's possible to make it so the orb item effects can be turned on and off with autocast?
I would simply add the orb ability with triggers whenever the player activates autocast on the Searing Arrows dummy spell, but there doesn't seem to be a way to detect autocaust turn on/turn off with GUI.
I'm sure this is probably possible with JASS, but I'm looking for a bit of a simpler solution, which is why I didn't post this in the triggering or JASS forums.
|
|
|
12-16-2007, 09:02 PM
|
#2 (permalink)
|
|
Creator of the world DDD
Join Date: Oct 2006
Posts: 4,301
|
yes.. you can do it to way: Eaither just make it in the object editor (this is simple) or you can do it with triggers.
Ask If you need more info then I post some screenshots.
|
|
|
12-16-2007, 09:09 PM
|
#3 (permalink)
|
|
User
Join Date: May 2007
Posts: 26
|
I'd like some more info, preferably the object editor method, thanks.
|
|
|
12-16-2007, 09:14 PM
|
#4 (permalink)
|
|
Creator of the world DDD
Join Date: Oct 2006
Posts: 4,301
|
KK.. opening my WEU then.
Edit:
The black arrow just give it to the hero and he will use it... problems: he doesnt spent mana on it.. and he uses it what ever it is set on auto cast or not.
My method with the searing arrows didnt work as intended.
using the orbs work, but they aint shown (black arrow is though, but aint autocasting)
I Post some trigger idea how to do this, tell If you want the real trigger:
Searing arrow:
Some base spell for melee, then make the attacking unit damage attaced unit with 35 or so.
Black Arrow:
Just make every dying unit turn to a skeleton (create unit on position of dying unit).
For both of them: the condition should be if attacking unit have a buff (the spell your using should give the hero a buff... like bloodlust or something. he would auto use on himself (allowed targets = self))
and mana, just make it lower his mana with the unit triggers.
(Tell if you need this in trigger tags, but should be rather easy to do)
Last edited by RED BARON; 12-16-2007 at 11:07 PM.
|
|
|
12-17-2007, 07:34 PM
|
#5 (permalink)
|
|
User
Join Date: May 2007
Posts: 26
|
The only problem I can find with this is, how do you stop auto-casting if the buff has to be set for a certain amount of time?
I'm going to try your method now. If I can't figure out how to stop auto-casting, I think I'm just going to make the entire ability a Bloodlust-type ability with a one-time mana cost that just stays for a certain amount of time.
|
|
|
12-17-2007, 09:47 PM
|
#6 (permalink)
|
|
Creator of the world DDD
Join Date: Oct 2006
Posts: 4,301
|
Quote:
Originally Posted by fishcorn
The only problem I can find with this is, how do you stop auto-casting if the buff has to be set for a certain amount of time?
I'm going to try your method now. If I can't figure out how to stop auto-casting, I think I'm just going to make the entire ability a Bloodlust-type ability with a one-time mana cost that just stays for a certain amount of time.
|
Okay.. the stop of autocasting could be an disple or a remove buff trigger.
|
|
|
12-17-2007, 11:37 PM
|
#7 (permalink)
|
|
User
Join Date: May 2007
Posts: 26
|
Okay, I figured it out. I decided to make it based on Immolation instead, then I just did the damage with triggers and attached a fire effect to the weapon through the buff. Looks really cool. Thanks for the help.
It makes more sense this way, I think, since a sword would be continuously burning, thus using up mana gradually, rather than spending mana with each hit/arrow.
|
|
|
12-17-2007, 11:44 PM
|
#8 (permalink)
|
|
Creator of the world DDD
Join Date: Oct 2006
Posts: 4,301
|
Quote:
Originally Posted by fishcorn
Okay, I figured it out. I decided to make it based on Immolation instead, then I just did the damage with triggers and attached a fire effect to the weapon through the buff. Looks really cool. Thanks for the help.
It makes more sense this way, I think, since a sword would be continuously burning, thus using up mana gradually, rather than spending mana with each hit/arrow.
|
Ya it does.. Great I could help you
|
|
|
12-20-2007, 05:34 AM
|
#9 (permalink)
|
|
tā ě"fē
Join Date: Jun 2006
Posts: 3,042
|
You can change the range of the arrow abilities to 100, and set the allowed targets to be the same as the melee heroes that are using them. It's much simpler than what you're doing, I can guarantee it.
|
|
|
12-20-2007, 12:05 PM
|
#10 (permalink)
|
|
Creator of the world DDD
Join Date: Oct 2006
Posts: 4,301
|
Quote:
Originally Posted by Teh_Ephy
You can change the range of the arrow abilities to 100, and set the allowed targets to be the same as the melee heroes that are using them. It's much simpler than what you're doing, I can guarantee it.
|
That was the starting method I thought I could use... but turned out it didnt work...
|
|
|
12-20-2007, 05:43 PM
|
#11 (permalink)
|
|
tā ě"fē
Join Date: Jun 2006
Posts: 3,042
|
Oh, I apologize for the misinformation, as well as not reading thoroughly. I'm relatively certain that I've tested that as working, but I wouldn't say for sure that I have.
|
|
|
12-20-2007, 07:13 PM
|
#12 (permalink)
|
|
Creator of the world DDD
Join Date: Oct 2006
Posts: 4,301
|
Quote:
Originally Posted by Teh_Ephy
Oh, I apologize for the misinformation, as well as not reading thoroughly. I'm relatively certain that I've tested that as working, but I wouldn't say for sure that I have.
|
Well it is quite posible that you changed an option that I didnt... and then got an result. As said it did work for black arrow, but I couldnt turn it off.. and the searing arrow change had no effect.
But do post what you did. It would be a much easier solution if it works.
|
|
|
12-20-2007, 09:09 PM
|
#13 (permalink)
|
|
tā ě"fē
Join Date: Jun 2006
Posts: 3,042
|
Bahhhh.
I was going to hunt the map down in WE and then post the map for you guys to test (my comp won't run even SC), but it seems my comp has become so shitty that it can't even run WE. Sorry.
I remember that I modified Poison Arrow's (when I say Poison Arrow, I am referring to the Searing Arrows ability that does damage over time) range and targets allowed, and then stuck it on a melee hero. I can't recall what happened when I tested it, though, if I tested it at all. It was a while back.
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|
All times are GMT. The time now is 02:32 PM.
|