to elaborate, how would i get the missile to use a random mesh and texture id from an table i really dont know where to start, ive read the wiki, tried googling for a solution and probably some more. this is what i have right now
local mesh = {55,33,16,4}
local texture = {22,6,11,5}
so yeah i want the meshid to match the textureid lets say that the meshid is 55, then i want the textureid to be 22 meshid is 33, textureid is 6 and so on

4 comments
alright, ill try that
how would i get the id to "MeshId = id from table"
The MeshId is always an odd number index in the storage table if you did it the first way. TextureIDs are even number indices.
So that means Storage[1], Storage[3], Storage[5] and Storage[7] are all MeshIds.