Silence as autocast spell

Zpajro

New Member
Reaction score
0
Hi
I need help with making the silence spell into a auto cast spell and I need it to be single target, like slow.

Here is that I come up with:

Silence spell
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to Silence
Actions
Special Effect - Create a special effect at (Position of (Target unit of ability being cast)) using Abilities\Spells\Human\Resurrect\ResurrectTarget.mdl
Unit - Reset ability cooldowns for (Target unit of ability being cast)
Wait 0.25 seconds
Unit - Reset ability cooldowns for (Target unit of ability being cast)
Wait 0.25 seconds
Unit - Reset ability cooldowns for (Target unit of ability being cast)
Wait 0.25 seconds
Unit - Reset ability cooldowns for (Target unit of ability being cast)
Wait 0.25 seconds
Unit - Reset ability cooldowns for (Target unit of ability being cast)
Wait 0.25 seconds
Unit - Reset ability cooldowns for (Target unit of ability being cast)
Wait 0.25 seconds
Unit - Reset ability cooldowns for (Target unit of ability being cast)
Wait 0.25 seconds
Unit - Reset ability cooldowns for (Target unit of ability being cast)
Wait 0.25 seconds
Unit - Reset ability cooldowns for (Target unit of ability being cast)
Wait 0.25 seconds
Unit - Reset ability cooldowns for (Target unit of ability being cast)
Wait 0.25 seconds
Unit - Reset ability cooldowns for (Target unit of ability being cast)

As it is now it only do the special effect, nothing else hands.
 

Zpajro

New Member
Reaction score
0
What I really want is to get the efect thet silence do. But I did not think of any way to do it so I tried to think of any other way that does roughly the same thing. What I expect to happen with the trigger is that it will get target's abilities to reload. And then I want, no matter how fast the target's abilities reloads, that the target will not be able to throw any abilities for at least 5 seconds. It is designed to be an anti Priest spell.
 

Zpajro

New Member
Reaction score
0
After discussing with a person IRL, I have come to why it is not working as I want it to, the code after the special effect is then incorrect and should be removed.
But how do I get the effect I want??
 

jonas

You can change this now in User CP.
Reaction score
67
Create a copy of the silence spell with a very small area of effect. Whenever your spell is cast, create a dummy unit, give it that ability, and order it to cast it on the target.
 

Zpajro

New Member
Reaction score
0
Ok, thanks.
Would it be too much to ask for an explanation on how to create a dummy unit, or a link to one?
 

Accname

2D-Graphics enthusiast
Reaction score
1,462
How can somebody "disagree" with me taking offense. Its not like you have any say in what I can take offense in or not.
 

jonas

You can change this now in User CP.
Reaction score
67
Remember that oatmeal strip? Kid: "My favorite colour is purple" Dad: "NO! Its green!"
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top