I am a programmer working with the free version of lite-c.
I am making a simple action game but I have hit an odd problem.
I am trying to get my enemies to move but have had many errors with that. I have figured out a way to avoid the problems: put the move command in another function. My problem is that it still doesn't work. I have the following code:

ENTITY* ene;

action invader_one()
{
my.pan = -90;
ene = me;
my.emask |= (ENABLE_IMPACT);
c_setminmax(me);
my.event = explode;
}

action invader_ai()
{
c_move (ene, vector(-100, 0, 0), nullvector, GLIDE); // move invaders
wait(-1);
c_move (ene, vector(-100, 0, 0), nullvector, GLIDE); // move invaders
}

in that order. I have a control entity running "invader_ai" and
all my invader entities are running "invader_one".
What should happen is the invaders start a bit off the one side wait one second and them move jump to the side.
What does happen is absolutely nothing.
The invaders stay put! Please help!
P.S. I know the move...pause...move code is good its just that the function is for some reason not effecting the invaders.
Thanks for the help
rtsgamer706