13-08-2008, 04:20 PM
I am attempting to make a feature where the GUI changes dependent on the player's class, but I keep getting RTE9.
In my FrmMirage frmLoad sub -
When run IDE it highlights
Specifically,
Any help/nudges in the right direction would be greatly appreciated
I don't doubt I'm missing something painfully obvious :roll:
In my FrmMirage frmLoad sub -
Code:
If GetPlayerClass(Index) = 0 Then
picBackground.Picture = LoadPicture(App.Path & "\gfx\gui\ingame\warrior\ingame.bmp")
End If
When run IDE it highlights
Code:
Function GetPlayerClass(ByVal Index As Long) As Long
GetPlayerClass = Player(Index).Class
End Function
Specifically,
Code:
GetPlayerClass = Player(Index).Class
Any help/nudges in the right direction would be greatly appreciated

I don't doubt I'm missing something painfully obvious :roll: