Posted by Myrddraal on July 15, 1998 at 23:05:59:
I decided to try out my hand at making a really simple cog, just tell me why does this not work??
#JK cog script
#
#test.cog
#
#Makes a surface dissapear when activated
#
#DC
symbols
float delay=5.5
surface surface
int diswall=0 local
end
code
activated:
if (diswall == 0)
{
diswall =1;
setfacegeomode(surface,0);
sleep(delay);
setfacegeomode(surface,4);
diswall =0;
}
return
end
please help out, i'm trying to learn cog!!
-Myrddraal
ps-how do u write it in white??