using regions once

Started by miguel, Wed 07/05/2003 23:51:39

Previous topic - Next topic

miguel

 hello to all,
in this room I´m working on, I have a npc walking to a place when the main character steps onto a region.then a dialog starts,
all works well, but I want it to just happen once.
is that possible?
can we still use stand over hotspot?
thanks
I used the technical forum because I got no answer on the beguiners forum, I know you people don´t have time for everything but still it is a new feature!
thanks
EDIT - don´t know what to make of this but it seems that the dialog just runs once now (ok), and I think it has to do with the time when the main character steps onto the region, I have objects moving as well, and I think it makes the engine not working well?!?
Working on a RON game!!!!!

Barcik

Sure you can, just use a 'flag'. A flag is a global inventory which contains differernt values when some events have happened already. So, you need to do an if, where it checks if the value of the global int is X, and if it so change the value to Y. Next time, it won't happen.
Currently Working On: Monkey Island 1.5

miguel

Working on a RON game!!!!!

Pumaman

Please do not post the same thread in both technical forums. If, after 2-3 days, your question has not been satisfactorily answered in the Beginners Forum, request that a moderator move it here.

miguel

sorry CJ, Ill do that next time
Working on a RON game!!!!!

SMF spam blocked by CleanTalk