Hi everyone !
I try to convert my scrip from C-Scrip to Lite-C but I met many Mistake , and I don't knoiw why frown

1. Do We have any perfect converter (I try BK Replace Em in 3DGS Manual) but it's not so good !

2. See the picture below ! How to define a Skill... and use it?? What's the problem ???



3. if I had the code in C-Scrip:

Code:
function Set_Visible(on_off)
{
   my.VISIBLE = on_off;
}



Conver to C-Lite :

Code:
function Set_Visible(on_off)
{
   if (on_of==1) set(my,VISIBLE);
   else reset(my,VISIBLE);
}



--> it make my code longer... do we have any way else ???

4. I have the code :
Code:
ENTITY* testent = {
   type = "some file...";
   skill1 = 2;
   skill2 = 3;
}


-> I meet the syntax error... How to uses Skill In Layer Model ??

Last edited by TrQuocAn; 07/24/09 02:42.