I can now succesfully create and load Magic World levels but...
WHY DOESN'T THIS WORK!!!
#include "magicload1-1.dba"
sync rate 30
sync on
MagicLoad("level3",1,1,1)
hide mouse
do
if upkey()=1 then move camera 15
if downkey()=1 then move camera -15
if rightkey()=1 then angle#=angle#+5
if leftkey()=1 then angle#=angle#-5
angle#=wrapvalue(angle#)
yrotate camera angle#
y#=get ground height(1,camera position x(),camera position z())+50
position camera camera position x(),y#,camera position z()
sync
loop
For some reason the get ground height seems to have no effect!