Warcraft III resources & community, 2003–2006 · archived

help me finish my spell

14 posts
#1

help me finish my spell

umm my spell doesn't make the 3 shockwaves and dummys units dont appear or nothing can you help me fix it

Triwave extra
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to triwave
Actions
For each (Integer A) from 1 to 3, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of triwave for (Triggering unit)) Equal to 1
Then - Actions
Unit - Create 1 Triwave Dummy Lv1 for (Owner of (Casting unit)) at (Center of (Playable map area)) facing (Facing of (Triggering unit)) degrees
Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave (Target point of ability being cast)
Unit - Remove (Last created unit) from the game
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of triwave for (Triggering unit)) Equal to 2
Then - Actions
Unit - Create 1 Triwave Dummy Lv2 for (Owner of (Casting unit)) at (Center of (Playable map area)) facing (Facing of (Triggering unit)) degrees
Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave (Target point of ability being cast)
Unit - Remove (Last created unit) from the game
Else - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Level of triwave for (Triggering unit)) Equal to 3
Then - Actions
Unit - Create 1 Triwave Dummy Lv3 for (Owner of (Casting unit)) at (Center of (Playable map area)) facing (Facing of (Triggering unit)) degrees
Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave (Target point of ability being cast)
Unit - Remove (Last created unit) from the game
Else - Actions
Do nothing


Triwave end
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to TriWave Unit lv 1 (Neutral Hostile)
Actions
Wait 1.00 seconds
Unit - Remove (Casting unit) from the game


Triwave end lv2
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to TriWave Unit lv 2 (Neutral Hostile)
Actions
Wait 1.00 seconds
Unit - Remove (Casting unit) from the game

Triwave end lv3
Events
Unit - A unit Finishes casting an ability
Conditions
(Ability being cast) Equal to TriWave Unit lv 3 (Neutral Hostile)
Actions
Wait 1.00 seconds
Unit - Remove (Casting unit) from the game

plz can some one help me with this
#2
uuh... will look at it some more later, but you're creating the dummies at the centre of playable map area :?
#3
Perhaps your problem is that your're creating the dummy in the center of Playable map area shouldn't it be at position of casting unit? So maybe the spell works but your're not looking were the spell is being cast
#4
well, also, remove those 3 triggers to clean the dummies. Instead, right after you say Create 1 (dummy) at (position) facing (angle), do this.

Unit - Add a 1 second Expiration Timer to Last Created Unit.
#5
thx for the tip im going to change it and see if it works
#6
ummm it works fine but it does 2 not three do i just repeat the trigger ???
#7
should do three... who knows, try doing For Each Integer A from 1 to 4 or something
#8
wogh!!
very long trigger, huh??
i can make it more simple...

Before go to the trigger command;
*) U just only need 1 dummy to do this.
*) create abilities that u desire for DUMMY (bases on shockwave spell as u want). It should've 3 lv.
For example i'll named it Triwavefordummy.
*) create abilities that u desire for HERO (bases on shokwave spell as u want). It should've 3 lv too. BUT, it have 0 damage each level. U just only fill mana cost and cooldown.
For example i'll named it Triwave.



Trigger command :

Events:
*)Unit - begins starting the effect of an ability

Conditions:
*)(Ability being cast) Equal to Triwave

Actions:
*)Unit - Create 1 dummy for (Owner of (Trigerring unit)) at (Position unit of Trigerring unit) facing Default building facing degrees.
*)Unit - Add Triwavefordummy to Last created unit.
*)Unit - Set level of Triwavefordummy for Last created unit to Level of Triwave for Trigerring unit.
*)For each (Integer A) from 1 to 3, do (Actions)
---Loop - Actions
---Unit - Order (Last created unit) to Orc Tauren Chieftain - Shockwave (Target point of ability being cast)
*)Unit - Add a 3 second Generic expiration timer to Last created unit



That's all... :D :D
very simple huh?
#9
Very simple, but doesn't work! The dummy cannot cast the same spell in the same time. And at least you should put a wait, becase now, your spell would look like one Breath of Fire, but with 3x damage. So:

*)For each (Integer A) from 1 to 3, do (Actions)
---Loop - Actions
---Unit - Create 1 dummy for (Owner of (Trigerring unit)) at (Position unit of Trigerring unit) facing 0 degrees.
---Unit - Add Triwavefordummy to Last created unit.
---Unit - Set level of Triwavefordummy for Last created unit to Level of Triwave for Trigerring unit.
---Unit - Order (Last created unit) to Orc Tauren
Chieftain - Shockwave (Target point of ability being cast)
---Unit - Add a 0.5 second Generic expiration timer to Last created unit
---Wait 0.1 seconds
#10
Uuh... Poot wins first prize for the answer, and Pask wins first prize for not being lazy :D

Add a 0.5 second Generic expiration timer to Last created unit


ALWAYS use a minimum of one, as several spells take longer than .5s to go off, if you forget to change the dummy's Spell Backswing.
#11
Wow, i never thought about it! :D Maybe because i didn't have any problems with it, but from now on i'll set 2 sec 'BTLF'-s! :D
#12
yeah, and then, if youre using something like flame strike, 2 is ideal

on the other hand, i cant see anything that takes longer than 2 seconds *starts using 2 seconds* lol
#13
thx for the help

lol 2 flames stikes
#14
nice try, but you would use 2 seperate dummies for that :P

anyways, the only 2+ second cast times i can think of would be custom, which would be stupid