Ok I have a custom type called Player this type have 6 players. Let say i want the values of the 4.th player how do i do?
(without using After and Before)
(without using After and Before)
Dim alien_ID.alien(ALIEN_MAXCOUNT%) alien_ID(1)=alienNew() alien_ID(1)\x#=1.0 alienposx = alien_ID(1)\x# myalien.alien = alien_ID(1) ;Alternative Blitz Array Global alien_ID.alien[ALIEN_MAXCOUNT%] alien_ID[1]=alienNew() alien_ID[1]\x#=1.0 alienposx = alien_ID[1]\x# myalien.alien = alien_ID[1]
Global ANTAL Function CreateTile(number2,image2$,x2,y2,tile2) ANTAL = ANTAL + 1 newt.Tile = New Tile newt\x# = x2*50 newt\y# = y2*50 newt\number = number2 newt\image$ = image2$ newt\tile = tile2 End Function Function RescanTiles() Dim newp.Tile(ANTAL) i = 0 For t.Tile = Each Tile newp(i) = t i = i + 1 Next End Function