Blockland Forums > Modification Help
Using %blah['blah'] stuff.
<< < (3/6) > >>
Ephialtes:

--- Quote from: Chrono on October 14, 2010, 02:52:44 PM ---They're better this way.

Very easy to work with.

--- End quote ---

I'm not sure where to start regarding Torquescript's arrays. It doesn't even have arrays. All you're doing is dynamically creating variable names by appending a string or number to the end of them. They're certainly the worst substitute I've ever come across - I can't imagine anything being worse. How can you find them good?
Gamefandan:

--- Quote from: Ephialtes on October 14, 2010, 03:37:39 PM ---How can you find them good?

--- End quote ---

Identity Mod.

Hey wait... When you tested it, didn't you get the name Beef Apple? :cookieMonster:
Chrono:

--- Quote from: Ephialtes on October 14, 2010, 03:37:39 PM ---I'm not sure where to start regarding Torquescript's arrays. It doesn't even have arrays. All you're doing is dynamically creating variable names by appending a string or number to the end of them. They're certainly the worst substitute I've ever come across - I can't imagine anything being worse. How can you find them good?

--- End quote ---
Easier to work with.
Ephialtes:

--- Quote from: Chrono on October 14, 2010, 05:08:34 PM ---Easier to work with.

--- End quote ---

Yeah but how? You can't even pass an array as a parameter. That's absurd?
otto-san:
Alright, I was right about how to use them, I guess.

So if I wanted to make the array a variable would I use:

%variable[1] = thing in array;

or

%variable[%variableinarray];

i'm new to these so bear with me
Navigation
Message Index
Next page
Previous page

Go to full version