Uhm this should be no problem, I use this method, too.

E.g. if you have an action rotateDummy:

Code:
action rotateDummy
{
while (1) {
my.pan + = 5 * time_step;
wait(1);
}
}



Then you can write it like this into your dummy .c file for WED:

Code:
action rotateDummy {wait(1);}



or like this:

Code:
action rotateDummy ();