Author Topic: variable/function list  (Read 1126 times)

Is there a list that holds all variables and functions that are used in bl?

Variables can be obtained by using this command:
export("$*","config/allVars.txt",0);
Then, go into the Blockland folder and go into config, open allVars.txt.

V For functions, what he said. V
« Last Edit: December 17, 2008, 07:16:28 AM by Chrono »

A better method for finding functions and classes is:
  • dumpConsoleFunctions();
    dumpConsoleClasses();

Which prints all functions/classes to the console and states their use and parameters.

wow fast answer thx :)

EDIT:

I actually wanted to know which variable holds the brick id but this list is huuuuuge :S

Where do you search if you want to know something like that?
« Last Edit: December 17, 2008, 07:33:04 AM by my-x »

You could have just used dumpConsoleFunctions to find the function to dump all the console functions...

I actually wanted to know which variable holds the brick id but this list is huuuuuge :S

Which brick? The red one over there, or that green one under the blue one?

oh sorry I mean inside an output event

For example the brick id of the touched brick.
« Last Edit: December 17, 2008, 11:33:07 AM by my-x »