Room Type
Blitz3D Forums/Blitz3D Beginners Area/Room Type
| ||
Type Room_Grids Field Room[100] ; 100 Different Room Field X,Y ; X, Y Positions Field Room_Exit ; Room if person Exit End Type Newr.Room_Grids = New Room_Grids Room_Grids\Room[1]=LoadImage("GFX\Room_1.PNG") For dim arrays and it work fine but TYPE with arrays is better but why doesnt it work? |
| ||
Room_Grids\Room[1]=LoadImage("GFX\Room_1.PNG") Should be: [code] Newr\Room[1]=LoadImage("GFX\Room_1.PNG") [\code] |
| ||
Dohhhh me... thank you ross c |