Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
variable/function list
« previous
next »
Print
Pages: [
1
]
Author
Topic: variable/function list (Read 1126 times)
my-x
December 17, 2008, 06:18:58 AM
Is there a list that holds all variables and functions that are used in bl?
Ad Bot
Advertisement
Chrono
December 17, 2008, 07:01:56 AM
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
»
Resonance_Cascade
December 17, 2008, 07:09:13 AM
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.
my-x
December 17, 2008, 07:19:36 AM
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
»
Ephialtes
December 17, 2008, 07:33:01 AM
You could have just used dumpConsoleFunctions to find the function to dump all the console functions...
Quote from: my-x on December 17, 2008, 07:19:36 AM
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?
my-x
December 17, 2008, 07:42:46 AM
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
»
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
variable/function list