Thanks for the warm welcome. I am indeed completely new to 3D Gamestudio. Not to gamemaking though. I just haven't used a language yet, and also not in 3D. And so what once was one mouseclick becomes a programing task that eats days and weeks from what i can see.
Oops, that "+" which is too much ... . Wasn't there when i tinkered around with the problem. Seems that it came in when i copy n pasted all the code around to post it here, sorry

Your advice is very useful. Now i see where i thought wrong. And it starts to make sense now. The brackets are the signs to say "then". That was the bit i was missing.
This code is my first working code now. Thank you for that
Code:
action rotate_plane()
{
while (1)
{
if (key_a)
{
my.pan += 2 * time_step;
}
wait (1);
}
}
Something to optimize here?
Okay, that was the one part. But what about my other question. Lite C code in an WDL file? Does WDL decide by itself if it is Lite C or C script? When do i / can i / must i save as WDL, when as C? Because a *.c file cannot provide an action that shows up in the WED from what my experiments has shown me.