Alright. I have made a level in WED. I have a model of a spaceship and some prefabs and a sphere of stars surrounding it.

I made a lite-c file called move.c with the following code:

VECTOR speed;

vec_zero(speed);

action moveMe()
{
while(1)
{
my.pan += 5 * (key_a - key_d) * time_step;
speed.x = 5 * (key_w - key_s) * time_step;
c_move(my,speed,nullvector,IGNORE_PASSABLE | GLIDE);
wait(1);
}
}


I added the moveMe action to my spaceship.

I have included the move.c file to read before the level comes up (with the rest of the includes).

When I run the level, it says that moveMe cannot be found.

I did click the A6 template for the script.


Kevin