Blockland Forums > Modification Help
Could i get some help with scripting
(1/3) > >>
Hazmat:
I have been learning scripting but i'm still not very good at it. i need to learn for an app making course i'm taking this summer and so i can make add-ons. if anyone has any suggestions or would like to help m then please reply. i know i know look at script and i'll learn well that's what i've been doing for the past two months!

Also:
to other people learning scripting i found this great program that comes with unity and makes writing/reading code much easier. i can't upload it to media fire but you can go to the unity website and download unity. the program is called unitron and i color codes things and does indents for you which is nice.
slimabob:
This should teach you a lot.
Iban:

--- Quote from: Hazmat on February 26, 2011, 06:17:29 PM ---Also:
to other people learning scripting i found this great program that comes with unity and makes writing/reading code much easier. i can't upload it to media fire but you can go to the unity website and download unity. the program is called unitron and i color codes things and does indents for you which is nice.

--- End quote ---
Notepad++
Hazmat:
thanks for the tutorials
i was also just curios is there anyway to delay a code from executing like tell it to wait 1 second then echo?
Iban:

--- Quote from: Hazmat on February 27, 2011, 03:10:36 AM ---thanks for the tutorials
i was also just curios is there anyway to delay a code from executing like tell it to wait 1 second then echo?

--- End quote ---
yeppers.


--- Code: ---schedule(1000, 0, "echo", "Hello, late world.");
--- End code ---

--- Code: ---schedule(time ms, 0, "command name", "argument 1", "argument 2");
--- End code ---
(I'm not quite sure what the 0 is for. It doesn't appear in official Torque documentation but it is needed in Blockland's version of Torque.)

If you're scheduling an object's function,

--- Code: ---%obj.schedule(1000, "delete");
--- End code ---

--- Code: ---%objectID.schedule(time ms, "command", "argument 1", "argument 2");
--- End code ---
Navigation
Message Index
Next page

Go to full version