That didn't work.Are you sure you understood my post entirely.I am wondering if this is maybe an error with ags because I have not had this problem before 3.6.0.I have had many other problems with global integers not being recognized as changed even when they are in the top of a script list.So to put it simply:I have a script at the top of the list and in that I have repeatedly execute always copied from global script and global integers in there adding up every game loop.I'm sure that they are adding up because I had it display the integer by placing Display() right next to the adding integer and it did show to be adding up .But if I place Display in a room script and try to display the integer from there nothing happens.The integer stays the same.I hope i've made this clearly understood.
This displays the global integers value.
// new module script
function repeatedly_execute_always()
{
test+=1;
String s=String.Format("%d",test);
Display(s);
}
// new module header
int test;
If the above script doesn't have display this in room script doesn't display integer.It always displays zero.
function room_RepExec()
{
String s=String.Format("%d",test);
Display(s);
}