• 🏆 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!

My Dummy's Storm bolt ability doesn't work

Status
Not open for further replies.
Level 6
Joined
Aug 31, 2018
Messages
157
How can i add stun effect, slow effect, damage reduction effect, armor reduction, dps and etc to a spell without any of those effects?

For example: Storm bolt with slow and burning effect Or reducting the armor of the target? (P.S the example spell doesnt matter)

I need to know how to add all of those effects to different abilities.

Thanks <3
 
Level 28
Joined
Feb 18, 2014
Messages
3,580
Dummies are basically invisible units that do nothing and only used to fulfil some purposes like in your example.
  • Storm Bolt Slow
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Storm bolt
    • Actions
      • Set Caster_Point = (Position of (Triggering unit))
      • Set Target_Unit = (Target unit of ability being cast)
      • Unit - Create 1 DUMMY for (Owner of (Triggering unit)) at Caster_Point facing (Facing of (Triggering unit)) degrees
      • Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
      • Unit - Add Slow (Neutral hostile) to (Last created unit)
      • Unit - Order (Last created unit) to Human Sorceress - Slow Target_Unit
      • Custom script: call RemoveLocation (udg_Caster_Point)
      • Custom script: set udg_Target_Unit = null
 
Level 6
Joined
Aug 31, 2018
Messages
157
Dummies are basically invisible units that do nothing and only used to fulfil some purposes like in your example.
  • Storm Bolt Slow
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Storm bolt
    • Actions
      • Set Caster_Point = (Position of (Triggering unit))
      • Set Target_Unit = (Target unit of ability being cast)
      • Unit - Create 1 DUMMY for (Owner of (Triggering unit)) at Caster_Point facing (Facing of (Triggering unit)) degrees
      • Unit - Add a 5.00 second Generic expiration timer to (Last created unit)
      • Unit - Add Slow (Neutral hostile) to (Last created unit)
      • Unit - Order (Last created unit) to Human Sorceress - Slow Target_Unit
      • Custom script: call RemoveLocation (udg_Caster_Point)
      • Custom script: set udg_Target_Unit = null
Thank you a lot, i did all of that, but my question is, is there a way to cast specific (custom made) ability, not just only from the listed below
 

Attachments

  • basic abilities.png
    basic abilities.png
    20.6 KB · Views: 29
Warcraft 3 is an order based game units will use the first ready ability having that order. Your custom ability based on thunderclap, is still ordered with "thunderclap". This is also a big drawback, if you have 3 stormbolt spells the unit will probably not cast the one you just ordered (from the users view) but instead another one with the same order but interal in a earlier positon.
 
Level 6
Joined
Aug 31, 2018
Messages
157
Warcraft 3 is an order based game units will use the first ready ability having that order. Your custom ability based on thunderclap, is still ordered with "thunderclap". This is also a big drawback, if you have 3 stormbolt spells the unit will probably not cast the one you just ordered (from the users view) but instead another one with the same order but interal in a earlier positon.
So my dummy gonna cast acid bomb instead of human slow? Which means it doesnt matter which ability you gonna order your unit to cast, because it gonna cast the ability you give to it, not the one which you order to cast it (which is the human slow in the situation)
 

Attachments

  • Question.png
    Question.png
    11.5 KB · Views: 26
Level 6
Joined
Aug 31, 2018
Messages
157
Tried to make [Chaos Bolt] stun, but it doesnt work. The Dummy works, but its not stunning the enemy, why?
 

Attachments

  • chaos bolt stun.png
    chaos bolt stun.png
    12.5 KB · Views: 19
The order has to match the order of the ability you want your unit to cast which is the same for all clones of thunderclap , including the default one. the used orderString is written in object Editor for the ability (most times some miss it)

Has the dummy the mana to cast the ability?
Is it in range or the dummy can walk to it?
Can the dummy spell target the unit (allowed targets, spell immune)?
There are quite a lot of stormbolt spells (variants) with different orders, check if that stormbolt dummy is really using stormbolt as order.
 
Level 6
Joined
Aug 31, 2018
Messages
157
The order has to match the order of the ability you want your unit to cast which is the same for all clones of thunderclap , including the default one. the used orderString is written in object Editor for the ability (most times some miss it)

Has the dummy the mana to cast the ability?
Is it in range or the dummy can walk to it?
Can the dummy spell target the unit (allowed targets, spell immune)?
There are quite a lot of stormbolt spells (variants) with different orders, check if that stormbolt dummy is really using stormbolt as order.
 

Attachments

  • Storm Bolt Dummy.png
    Storm Bolt Dummy.png
    12.7 KB · Views: 27
Remove Dead, they can't do anything at all, therefore no reason to stun them.
If you add Invul then only invul units can be targeted. Add also vulnurable to be able to target both.

You could try test that in the game by giving that skill an controlable unit and try to cast it as user which would print error messages when trying to target something unallowed.
 
Level 6
Joined
Aug 31, 2018
Messages
157
Remove Dead, they can't do anything at all, therefore no reason to stun them.
If you add Invul then only invul units can be targeted. Add also vulnurable to be able to target both.

You could try test that in the game by giving that skill an controlable unit and try to cast it as user which would print error messages when trying to target something unallowed.
It worked, thank you buddy <3
 
Status
Not open for further replies.
Top