I'm having some trouble making this work, basically I need to create different types of objects for my game (floor, walls, interactives, etc). I'm trying to organise them using an array, but I'm having some trouble, heres the code.
type floortype
floor as integer
endtype
DIM floor(100) as floortype
make object box floor(1).floor, 10, 10, 10
The game compiles but straight away I get runtime error 7006: object number illegal
Thanks in advance to anybody who can help me
Statistics show that loss of life is the leading cause of death in America.