• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Need help with chain spell

Status
Not open for further replies.
Level 2
Joined
Oct 4, 2006
Messages
7
Im making a chain spell, but the problem is that its only jump one time, and I can't find whats wrong.
So if someone would like to look at it and tell me whats wrong, it would be appriciated.

Here is the code (short version):

Unit - A unit Starts the effect of an ability

(Ability being cast) Equal to Frost Chain

Set FrostChainTarget = (Target unit of ability being cast)
Unit Group - Pick every unit in (Random 1 units from (Units within 500.00 of (Position of FrostChainTarget) matching ((((Matching unit) belongs to an enemy of (Owner of (Casting unit))) Equal to True) and ((((Matching unit) is alive) Equal to True) and ((Matching unit) Not equal to FrostCha and do (Actions)
Loop - Actions
Unit - Create 1 Dummy for (Owner of (Triggering unit)) at (Position of FrostChainTarget) facing Default building facing degrees
Unit - Add a 1.00 second Generic expiration timer to (Last created unit)
Set FrostChainTarget = (Picked unit)
Unit - Add Frost Chain (dmg) to (Last created unit)
Unit - Order (Last created unit) to Special Archimonde - Finger Of Death (Target unit of ability being cast)
 
Status
Not open for further replies.
Top