Hola guys, I've got this niftly little code all figured out, right? So i've already loaded my object (which is called trunk.x cause it's only the trunk of the tree, and it's object 1) Here's the code that I was using to ground it on my matrix that i've made (1000x1000) And I get an error after the blank screen with the Dark Basic watermark comes up, saying 0x0000000 yadda memory can't be 'read'. Any idea? I've officially stepped into something I have no idea about. Thanks guys!
REM LOAD TREES
for trees=2 to 200
clone object 1, trees
texture object trees,1
TreeX# = Object position X (trees)
TreeZ# = Object position Z (trees)
TreeY# = get ground height (1,TreeX#,TreeZ#)
position object trees, rnd(1000), TreeY#, rnd(1000)
next trees