[Miro:] :Uuuh, sorry. I forgot that my code is obvious... to me. :) :Here's an example call: : :int i[2]; : :i[0] = x; :i[1] = y; :terrain.elevation = (int)(150*irand(2, i)); OK, thanks - that straightens it out for me. -- Chris Gray cg at ami-cg.GraySage.Edmonton.AB.CA