Hi,
Does anyone know why...
hide mouse
backdrop off
autocam on
PRINT ""
PRINT "Loading object..."
load object "Ship\Ship.x", 1
PRINT "Object loaded."
PRINT "Positioning object..."
position object 1, 0, 0, 0
PRINT "Object position set."
PRINT "Rotating object..."
rotate object 1, 0,260,260
PRINT "Object rotated."
...will work, but...
hide mouse
backdrop off
autocam on
load object "Ship\Ship.x", 1
position object 1, 0, 0, 0
rotate object 1, 0,260,260
...wont. The second code, although identical except for the missing PRINT commands, returns an error (Runtime error 7008: Object does not exist at line 12) Line 12 being position object 1, 0, 0, 0
I am getting frustrated with DBPro because of problems like this. The code first code only works correctly if I have sync off. If I put it on and try to sync manually, i only get the text, and no image.
So what am I doing wrong???