scr_fill_array ==> a script
var i,j;
for (i=0,i<=480;i+=1)
{
for (j=0,j<=480;j+=1)
{
arr[j,i] = argument0;
}
}
in object0 create event:
arr[640,480] = object1; script_execute(scr_fill_array,object1); //To make sure that all of the array's indexes are full in object data (object1 is the defult of the array)
in object2 keypress space
script_execute(scr_fill_array,object2);
and the debugging shows that before I press space the
object0.arr[300,300]is equal to 1 and after I press space it's still equal to 1 "It should have become 2".
I would really appreciate any help you would provide.











