Hi all, new to Blitz
I've been looking at the Tlist stuff at it seems pretty cool, but what do I have to do if I want to acess a certain object by an array index?
I've tried making an array of Objects:
Global orbiterarray:Orbiter[]
and then putting the objects into that:
orbiterarray[0] = s1 ' s1 + s2 = premade objects
orbiterarray[1] = s2
But when I try to access any value from that object my program crashes.
Print orbiterarray[0].name ' is a string, makes program crash
Any help?
I've been looking at the Tlist stuff at it seems pretty cool, but what do I have to do if I want to acess a certain object by an array index?
I've tried making an array of Objects:
Global orbiterarray:Orbiter[]
and then putting the objects into that:
orbiterarray[0] = s1 ' s1 + s2 = premade objects
orbiterarray[1] = s2
But when I try to access any value from that object my program crashes.
Print orbiterarray[0].name ' is a string, makes program crash
Any help?