I get this ingame error : Possible endless loop in [myaction] Noooo really? hey! that's what I want! so I press Ok but I have to press Cancel because this annoying error message is popping in my face every .5 seconds. then it crashes.
You forgot to add you wait statement below your action in yor while loop. You are not allowing anything else to run. In loops, the wait statement is crucial. You should really review the tutorials available on the download page, as this will really help with some of your scripting.
After this line: my.pan += 10 * time_step; Insert the following: Wait(1);
Oh my god! Thanks, but I don't know why I forgot the wait statement! maybe its because of my 3 months off of 3dgs, and I was already a newbie... Anyway, sorry for my frenchie english, thanks, and have a nice day