Glad to hear it works

Yes, basically the brackets determine what "block" of code must be done when something else is done.

Basically, all the definitions (text, panel, material, action, etc.) all start and end with curly bracket pairs, as well as functions, "if", "else" and "while".

An optimization? I am not sure. Rather than continuously looping - while(1), maybe have the function occur by saying (although it may have to be written differently to get the same effect):

Code:

Function Rotate_Me()
{
//Rotation here
}
..
on_a = Rotate_Me();



I have not had much experience with Lite-C, but I think WDL files are C-script only. File ending in .c are Lite-C files.

To make a lite-C file. Go to SED, and save it as a file with the .c extension - then go into WED and go to File >> Map Properties >> Add Map and choose the .c file. As I said, I have not had much experience from Lite-C.

Hope it helps
Adoado.


Visit our development blog: http://yellloh.com