Game Development Community

Finding TorqueScript commands APIs

by Matthew Hoesterey · in Torque X Platformer Kit · 11/08/2007 (7:39 pm) · 0 replies

Heya I was wondering if anyone had some advice on how to search through the Torque x api help docs for commands

I'm changing the platform movement a bit. I want to make it so when you double tap down you jump down.

I know the code should look something like this:


if ( movingDown = true)
{
"wait .2sec" <---The command I cant find
movingDown = false;
}



if (move.Sticks[0].Y < -0.25 && movingDown = false)
{
_moveDown();
movingDown = true;
}
else if (move.Sticks[0].Y < -0.25 && movingDown = true)

{
_jumpDown();
}
}

So in anycase I can't find the command for wait and would like a direction on where to look in the docs for basic commands and some tips on searching. Thanks :)