Here's an example, I'm going to try to do this from out of my head...
sync on
sync rate 20
type objpos
x as integer
y as integer
z as integer
endtype
dim tree(i) as objpos
tree(1).x = 0
tree(1).y = get ground height(i) + 1 `*or whatever that command is
tree(1).z = 0
tree(2).x = 3
tree(2).y = get ground height(i) + 1
tree(2).z = 2
do
for i = 1 to 2
load object "tree.x", i
position object i, x(i),y(i),z(i)
`The print commands are a way to see if this little bit of
`pulled-out-of-my-butt code actually works.
`NOTE: The tree.y positions won't work because there's no matrix
` to get the ground height from, you'd have to add that.
`print tree(i).x
`print tree(i).y
`print tree(i).z
next i
sync
loop
now... I hope THAT helps
The only limits we have are those we set.