Arrays
Blitz3D Forums/Blitz3D Programming/Arrays
| ||
i'm just figuring out how to use arrays. and was wondering how do i put more than on mesh in to an array. i have several gun/weapons and i want them to be stored so i can swap through them and i figured an array would be best for this. so how do i add a mesh to the array after dimming it. and then how do i cycle through it. |
| ||
Dim Bullet(30) Bullet(1) = loadmesh("Bullet.3ds") For Loop = 2 to 30 Bullet(Loop) = copyentity(Bullet(1)) next |
| ||
ok that makes sence thanks |