• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Spell bug or bad code?

Status
Not open for further replies.
Level 10
Joined
Jan 19, 2010
Messages
381
  • Start
    • Events
      • Unit - A unit Begins channeling an ability
    • Conditions
      • (Ability being cast) Equal to Ghost Crash
    • Actions
      • Set Casters_Int = (Casters_Int + 1)
      • Set Casters[Casters_Int] = (Triggering unit)
      • Set Casters_Loc[Casters_Int] = (Position of Casters[Casters_Int])
      • Set Enemies[Casters_Int] = (All enemies of (Owner of Casters[Casters_Int]))
      • Set Targets[Casters_Int] = (Units owned by (Random player from Enemies[Casters_Int]) matching (((Matching unit) is A Hero) Equal to True))
What is bad in this code? Its not working but i think everythink is good
Pls help... Thx all
 
Status
Not open for further replies.
Back
Top