My problem is I don't get that value I try to access.
f.i. I have defined:

var arr[2][2];
//set values:
arr[0][0] = 5;
arr[0][1] =10;

and I want to get certain array value:

add_on = arr[0][g_type]; //g_type is whether 0 or 1.

I don't get the value... add_on is 0 when it should be 10 when g_type is f.i 1.

Last edited by Crypton; 06/25/09 17:07.

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