Blockland Forums > Modification Help
Function arguments
(1/1)
DYLANzzz:
How do I find these out on my own.

I tried using trace(1); and for a certain function it gave me a bunch of object ID's but I don't know what any of them are to
Plornt:
ID.getclassname();
Red_Guy:
that and these too:

ID.dump();

ID.getName();
Chrono:
If it's a number less than or around 2000, it's likely a datablock. Use .getName()
If it's 3 numbers before a comma, it's position or velocity.
If it's 7, then it's position and rotation.
If it's a high number, likely an object. Use .getClassName()
In some cases, it might just be a number because it's a number, or even a string. Like 15 being the 16th color and not object 15.
Navigation
Message Index

Go to full version