and the script still doesnt work, heres a simplified version for test.
///////////////////////////////
#include <acknex.h>
#include <default.c>
///////////////////////////////
PANEL* boxie_pan =
{
bmap = "boxie.bmp";
pos_x = 300;
pos_x = 300;
layer = 1;
flags = OVERLAY | SHOW;
}
function animateboxie()
{
while(!key_d) wait(1);
while(1);
{
if(key_d){boxie.pos_x -=24*time_step;}
}
}