Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: miguel on Thu 25/12/2003 16:31:31

Title: stand on region
Post by: miguel on Thu 25/12/2003 16:31:31
hello to all and merry christamas!

there's a region on my room that triggers a dialog when [ego] stands on it, if a certain GI is set to 1.  Well, this is what I intended to do but ags says 'run_dialog_script: script pointer is null?'  .
info:
on a previous dialog, I used a dialog_request function for creating a graphic overlay(WORKING); after finishing that dialog, ego can move on top of the overlay wich has a region under(WORKING) ; the region trigers some displayspech & move events and runs a dialog(NOT working),ags crashes with ('run_dialog_script: script pointer is null?'),
I understand that if [EGO] is constantly standing on the region it may disrupt the code but I think there's more to with,
hope I explained it well,
thanks

SORRY ABOUT THIS! I found what was making it crash!
merry christmas to all!
miguel
---------------------------------------
another problem!

well, the problem now is that I can't remove the graphic overlay because the engine doesn't reconize it!
I created it on a dialog_request function and the room script won't check it out unless it's on a dialog(?),
is there a workaroud?
thanks
-----------------------------
I managed to fix it also, I used functions to check some GI's and was able to remove the overlay,
thanks