Posted By: TrQuocAn
C-Scrip To C-Lite... Meet many mistake ! Help !!?? - 07/24/09 02:02
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
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:
Conver to C-Lite :
--> it make my code longer... do we have any way else ???
4. I have the code :
-> I meet the syntax error... How to uses Skill In Layer Model ??
I try to convert my scrip from C-Scrip to Lite-C but I met many Mistake , and I don't knoiw why
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 ??