Blockland Forums > Modification Help
Iban Explains it All
Iban:
I was doing this a while ago but now that I can post in this forum again I feel it's time to reboot the project -- for the good of the Motherland.
This is a collection of TorqueScript related help documents for the aspiring scripter.
The Basics
* Client / Server Commands
* Datablocks
* Introduction to Syntax
* Operators and Variables
* Packages
* Scope
Specific Classes
* ScriptObjects
Specific Functions
* forceRequiredAddOn
Further Reading
* The Torque Appendix - Contains very accurate information that is only usurped by the small number of changes Badspot has implemented. It's the same as the stickied PDF, but in HTML.
If you have any suggestions, requests, or complaints, tell me.
If you want to view the Google Docs folder, click here.
Manty:
For the motherland, indeed!
These are really well written and not too hard to understand. Nice job.
Space Guy:
"Client/Server Commands" links to "Datablocks" and "ScriptObjects" links to nothing.
Iban:
--- Quote from: Space Guy on February 27, 2011, 04:02:23 PM ---"Client/Server Commands" links to "Datablocks" and "ScriptObjects" links to nothing.
--- End quote ---
Gah, sorry. Google Docs is being a jerk.
Fixed.
Space Guy:
Very well made. I'll make sure to link random people to these whenever it's relevant.
For "operators and variables", one interesting thing non-existant arrays can do that you can't do normally is use variables with spaces or accented letters:
$foo["two words"] = "hello";
==> echo($foo["two words"]);
hello
==> echo($footwo words);
Syntax error in input
Whether that's too far for a basic introduction is up to you, though.
Also the example says echo($a @ $b); for the "NL" operator.