Rem Project: unt
Rem Created: Tuesday, April 03, 2012
Rem ***** Main Source File *****
sync on
sync rate 60
make object cube 1,1
make object cube 2,1
position object 1,0,0,0
position object 2,0,-1,0
do
sync
position camera 0,0,-5
point camera 0,0,0
zrotate object 1,wrapvalue(object angle z(1)+1)
zrotate object 2,object angle z(1)
position object 2,object position x(2)(-sin(object angle z(1))),object position y(2)(cos(object angle z(1))),0
loop
in the above snippet, the line beginning with "position object 2" in the loop becomes highlighted and does not execute. It normally executes a former line of code in which the positions are not a product of the object's x and y positions but directly relative to the negative sin and cos of the z-angle of object 1 as expressed in a previous line no longer used.
I am saving all before executing, and I do not have auto-highlight enabled.
Ich liebe Hundepfeifen; du hast wohl keine gehört.