• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Spell] Blinky Blink...

Status
Not open for further replies.
Level 6
Joined
Dec 21, 2012
Messages
167
yes except buildings... >.>
-Heroes (all 4 races + neutral [tavern] heroes)
-units (all 4 races + special [in WE] summons)
-not for buildings
-not for creeps
-not for critters :p
yes for every player but mostly it is meant for multiplayer...
I know that there are some people out there who can't play in multiplayer... :( So it would be nice to have it for computer players too
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
You need to explain more clearly what you are after. Yes you can give blink to other units and yes other units that are not heroes can use blink.

You could give units a unit ability version of blink as soon as they enter the playable map area as an example.
 

Chaosy

Tutorial Reviewer
Level 40
Joined
Jun 9, 2011
Messages
13,219
this code is really bad, both with leaks and efficiency. But I had some bugs that's why it's coded in a bad way.

  • blink
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
      • (Ability being cast) Equal to Blink
    • Actions
      • Set u = (Triggering unit)
      • Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
        • Loop - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • ((Picked unit) is A structure) Equal to False
              • (Picked unit) Not equal to u
              • (Owner of (Picked unit)) Not equal to Neutral Passive
              • (Owner of (Picked unit)) Not equal to Neutral Hostile
            • Then - Actions
              • Unit Group - Add (Picked unit) to some_group
              • Special Effect - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\NightElf\Blink\BlinkCaster.mdl
              • Special Effect - Destroy (Last created special effect)
            • Else - Actions
      • Wait 0.00 seconds
      • Unit Group - Pick every unit in some_group and do (Actions)
        • Loop - Actions
          • Unit - Move (Picked unit) instantly to (Position of u)
          • Special Effect - Create a special effect at (Position of (Picked unit)) using Abilities\Spells\NightElf\Blink\BlinkTarget.mdl
          • Special Effect - Destroy (Last created special effect)
take it was inspiration do NOT copy it straight of.
 
Level 6
Joined
Dec 21, 2012
Messages
167
You need to explain more clearly what you are after. Yes you can give blink to other units and yes other units that are not heroes can use blink.

You could give units a unit ability version of blink as soon as they enter the playable map area as an example.

the thing is all units except buildings can use BLINK
But i want them WHOLE GROUP to do that ability AT THE SAME TIME
 
Level 10
Joined
Jun 6, 2007
Messages
392
Maybe you could use something like this trigger:

Events
unit starts the effect of an ability
Conditions
ability being cast is equal to blink
Actions
turn off this trigger
Pick every unit in (units selected by (owner of triggering unit)) and do
Order picked unit to night elf warden - blink target point of ability being cast
turn on this trigger
 
Maybe you could use something like this trigger:

Events
unit starts the effect of an ability
Conditions
ability being cast is equal to blink
Actions
turn off this trigger
Pick every unit in (units selected by (owner of triggering unit)) and do
Order picked unit to night elf warden - blink target point of ability being cast
turn on this trigger

Yes that would work, make sure that all units have the <Blink> skill. And replace: order picked unit to <Your Skill> target point of ability being cast
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
Pick every unit in (units selected by (owner of triggering unit)) and do
Will cause a delay between the first blink and the rest. You see the group "units selected by..." needs to be synchronized before use, which incurs a Round Trip Time delay.

In SC2 this is so easy as you can just make it issue orders to the entire group. In WC3 I am not even sure it is possible.
 
Status
Not open for further replies.
Top