dialog problem

Started by miguel, Wed 07/05/2003 17:30:25

Previous topic - Next topic

miguel

hello,
my question is a simple one,
I want that my main character talks to a npc ONCE. I used a variable to determine that and used it like:
talk
   if a variable is set to 1
   then run dialog(x)
   set variable to 0

I thought this would work but it looks like ags executes the set variable to 0 comand first the the run dialog

how can I make it work?
thanks
Working on a RON game!!!!!

Jimi

swap the 1 and the 0 around, AGS sets variables to 0 by default.

miguel

thanks jimi, it worked perfectly!
btw, hendrix rox
Working on a RON game!!!!!

SMF spam blocked by CleanTalk