27-02-2008, 05:31 PM
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"...
Could someone please help me?
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?