the first 3 defines i made is for defining an idle, attacking and running of my A.I. in my game. what is wrong in that code? why is the "define" in .wdl replace with "#define" in .c? and skill do not work? because after that, i save it to .c code, i debug it so many times and i found a result, it works! the player_code() action but the my_enemy() action did not work anymore, the vec_dist cannot calculate the vertex of my player and monster. what will i supposed to do?? To all of the game developers who replied in my question thank you very much...i will try the code of mr. 'heinekenbottle' did. i pray that it will works...tnx!!!
#define is correct grammar because #define is both lite_c and c syntax. "define" on the other hand, w/o the pound symbol is old C-Script code.
C-Script did not have precompiler instructions. It had include and define, yes, but they did not compile before the rest of the code. Lite-C has precompiler instructions. And these precompiler instructions are denoted with a # (pound) symbol and do NOT use a semi-colon.