"Attempt to Index a non-array Variable"

Romek

Super Moderator
Reaction score
963
This is a wierd problem.. i have about 20 lines with the same error, and the same variable.

I have a Variable array, Unit type. (size 12)

in the trigger, i use:
Code:
Unit[(Player number of (Owner of (Triggering unit)))]

...Please Help

Edit:
Nevermind... I found something else and deleted this trigger :)

although im still wandering why this happened
 

Ghan

Administrator - Servers are fun
Staff member
Reaction score
888
Do you have that variable set as an array in the Variable Editor?
Definitely?
Do you do anything with custom scripts?
 

ManyTimes

I'm so lonesome I could cry...
Reaction score
293
Or delete the variable, recreate it, with different name, and wherever you use the former variable, you make sure you now use the new one.
 

Romek

Super Moderator
Reaction score
963
Do you have that variable set as an array in the Variable Editor?
Definitely?
Do you do anything with custom scripts?

Nope...

Or delete the variable, recreate it, with different name, and wherever you use the former variable, you make sure you now use the new one.

I have a LOT of those...

Edit:
Nevermind... I found something else and deleted this trigger :)

although im still wandering why this happened
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top