| 07-13-2007, 09:21 AM | #1 |
First of all I would like to say hi!.. I'm new to wc3c and this is my first post. Also I'm a total newbie to map making and would appreciate all the help I can get. I'v been trying to code blink strike for a hero lately (in world editor). I used stormbolt as the base spell, adjusted the damage and cooldown, removed everything else i don't want (i am aware that using strombolt as a base spell will end me with a 0.01 sec stun but it's ok I want a ministun so that my hero can cancel channeling spells) and added a trigger that'll instantly move my hero to target. Now the trigger seems to be working fine because when i click a unit my hero instantly appears next to it but for some strange reason it's not dealing damage and the cooldown is not starting, like it's been reset or something. Can someone please tell me the problem?. Thanks in advance |
| 07-13-2007, 09:25 AM | #2 |
i'm guessing the problem is your event... are you using "unit begins casting an ability" ?? you need to use "unit starts the effect of an ability" if that isnt the problem, you may need to give the spell like .2 seconds to cast. using a wait action. |
| 07-13-2007, 09:31 AM | #3 |
Yes i am using unit begins casting an ability. ok i'll change that but can you please explain the difference and what's the problem with using unit begins casting an ability as an event? |
| 07-13-2007, 09:41 AM | #4 |
unit begins casting ability is right before the ability is cast.. when the command is given unit starts the effect of an ability is when the ability is actually being cast. you will want to use starts the effect for almost every triggered spell you make. |
| 07-13-2007, 09:43 AM | #5 |
A unit begins casting an ability start right before the spell effects (like mana deduction and damage done to enemy) and a unit starts the effect of an ability fires when the mana/damage etc it deducted/done. So 95% of the time you should use a unit starts the effect of an ability. *Edit* OMG 2 mins before me, no fair |
| 07-13-2007, 10:04 AM | #6 |
haha owned. =P took you 2 minutes to type that? well.. nevermind you coulda been reading the thread for a good portion of that 2 minutes.. just kidding. |
| 07-13-2007, 10:20 AM | #7 |
i gota laggy comp(addressed to maximilianx), now about some rep.......... lol jk rep if you feel you should (addressed to Adi_Nemesis) |
| 07-13-2007, 11:02 AM | #8 |
eh, people arent very considerate, you help them and they read your post and dont come back until they need more help.. i dont expect rep when i help people because most are too inconsiderate to even think twice about it. i just like to help. ![]() |
| 07-13-2007, 11:09 AM | #9 |
and i helped him in another thread as well, he's not even responding let alone reping |
| 07-13-2007, 11:14 AM | #10 | |
Use this -A unit start effect of ability Condition -...... Just take this sample of blink strike
|
| 07-13-2007, 12:50 PM | #11 |
he said he's new so maybe he don't know what is rep...and as every people say "rep" instead of "reputation" it doesn't help. I didn't knew too when i was new. |
| 07-13-2007, 03:37 PM | #12 |
Ok, I changed event to unit starts effect of an ability. condition's ability cast equal to blink strike action's move unit instantly to targer. still dosnt work :*(. |
| 07-13-2007, 07:50 PM | #13 |
I suspect the problem is that storm bolt has a missile effect. Try basing your spell off of Chain Lightning instead. |
| 07-15-2007, 12:21 AM | #14 |
That wouldn't have anything to do with it, the problem would be the move unit action cancelling the spell casting. Depending on the timing, changing the event to spell effect alone might not work. A 0. second wait would do the trick (not instant though). If you really can't accept that there are slightly longer alternatives. |
