Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Expected Array...
#1
Ok, well I'm trying to make a Chaos Gate code for my game...>.> My game is based on .hack//. Anyway, I can't get this code to work. I've never even seen this error before, and I don't know why I'm getting it. It keeps highlighting what is in the bold brackets, and saying "Compile Error:Expected Array"...

Code:
' Chaos Gate attribute
        If [b]Map[/b](GetPlayerMap(Index)).Tile(GetPlayerX(Index), GetPlayerY(Index)).Type = TILE_TYPE_CHAOS_GATE Then
        frmChaosGateMenu.Visible = True
        End If

Could someone please help me?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)