mm yes I see... smile. I thought that "wait" allows to "go out of the loop" and execute other functions for one step and then in the next step the loop repeats. But main() is being executed once and when "while" is met, it's stays there...

Another quick question. I'd like to create multidimensional array and access it's value.

var arr[2][2]; //Define multidimesnional array, with 2 columns and 2 row..
//Giving values to aadresses
arr[0][0] = 5;
arr[0][1] = 30;
arr[1][0] = 10;
arr[1][1] = 50;

and accessing certain value ?:
add_on = (arr[g_type][0] - bullets); //g_type is whether 0 or 1.

Last edited by Crypton; 06/24/09 19:26.

New into Gamestudio and eager to learn it..
Stuff and games done in 2D: LINK