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

Can someone check thi out

Status
Not open for further replies.
This might sound rude but your script crap. It uses 2 tirgger categories which is more than obsolete in vJass and therefore not (properly) scoped. Your variables are awful (x,y,z could be used for coordinates but not for units) and there might be much more that this. Actually i don´t know why your indexing is malfunctioned since that probably has more than one reason. However i think indexing (which is usually done with structs and not arrays) is not necessary for a simple spell like this. I suggest you should use an attatching technique.

I made a attatching version of the spell which hopefully helps you. If you want to learn how to do indexing i think this could be useful for you.
 

Attachments

Status
Not open for further replies.
Back
Top