Blockland Forums > Modification Help

Need help scripting.

Pages: << < (14/31) > >>

Wordy:

Well obviously in Blockland;)

First before you do things around stuff with FileObjects and that stuff, you need to grasp basic syntax me thinks.

zefoo:

Some more questions.
how do you make a loop?
Ex:

--- Code: ---Do while done = false
{
   
}
--- End code ---
how do you send a chat message that everyone can see?


PurpleMetro:


--- Quote from: zefoo on June 27, 2012, 05:44:43 PM ---Some more questions.
how do you make a loop?
Ex:

--- Code: ---Do while done = false
{
   
}
--- End code ---
how do you send a chat message that everyone can see?


--- End quote ---
Doing a loop is easy. I suggest using the while loop.
while(%i=1,(end loop),(what is being changed in the loop));
  {

  }

A chat message that everyone can see.
chatMessageAll("%");
bottomPrintAll("%");
centerPrintAll("%");
talk("%");

Port:


--- Quote from: Slicks555 on June 27, 2012, 03:44:02 PM ---please don't be a friend

Torque is the game engine, especially in this context the Torque Game Engine. To "learn more" means, in this context, to obtain a better working knowledge of how the engine works, in this case it's internal scripting language, TorqueScript.

You also do not need a "specific amount" to use the word more. Irrefutably, you know more TorqueScript than the OP.

--- End quote ---

there's still nothing preventing him from speaking correctly without obscure nicknames, slangs and expressions

zefoo:


--- Quote from: PurpleMetro on June 27, 2012, 05:54:54 PM ---Doing a loop is easy. I suggest using the while loop.
while(%i=1,(end loop),(what is being changed in the loop));
  {

  }

A chat message that everyone can see.
chatMessageAll("%");
bottomPrintAll("%");
centerPrintAll("%");
talk("%");

--- End quote ---

Thanks now how can you check if a say String1 is in String2?
Oh and could you show me an example loop?

Pages: << < (14/31) > >>

Go to full version