Problem with a particular region [Solved?]

Started by Khristian Cammilleri, Wed 14/03/2012 18:11:48

Previous topic - Next topic

Khristian Cammilleri

Yesterday I was testing my new game,
Everything was normal...until I reach a room with regions that just doesn't work...

I tried adding light level in order to confirm that the player is standing on it... But the script of Standing region doesn't work

This is the script:
Code: ags
 oGrass.Visible=true;oGrass.SetPosition(cCarJoe.x-18, cCarJoe.y+8);gTruckPosY-=1;


The strangest thing is that if I test the room without the savegame....It runs properly...

I though it could be a global variable, but I checked the room script and it doesn't use any....

Please I need help...This problem gets me really nervous

PD:Is there any script available so I can check all the global variables in-game??
PPD:And another to change them??

Thanks! ???
PizzaNostra!

Khris

The most common mistake is a missing link, for instance when people just paste the function into their script.
Open the region and check the events pane, does it say the function's name in the field next to "player stands on region"?

Khristian Cammilleri

#2
Yes the event runs properly...if I test only that room

It doesn't when I play the whole game...So that's why I suspect that something is making the error in another room..
But it's a large game so I can't figure out what is causing it...

I would also need a way to check and change the values of all the global variables
PizzaNostra!

Khristian Cammilleri

I'm going to  test everything again...
Thanks anyway
PizzaNostra!

SMF spam blocked by CleanTalk