• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

help me finish my spell

Status
Not open for further replies.
Level 2
Joined
Nov 7, 2005
Messages
6
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
 
Level 2
Joined
Oct 29, 2006
Messages
13
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?
 
Level 11
Joined
Jul 12, 2005
Messages
764
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
 
Status
Not open for further replies.
Top