Characters say something different

Started by Stevo75, Mon 07/02/2005 00:11:27

Previous topic - Next topic

Stevo75

Hi, I'm new here, I'm making a game called "Welcome to Gosten" Just one thing I'm concerned about is how do I make a character say something different after I've allready talked to them? I've tryed quite a few actions and none of them work. help me please. ???

monkey0506

Well, you could try searching the help manual.  There's a way of setting global ints from the dialog editor, it's like

set globalint value

or something.  Run that at the end of the first dialogue, and test the value of the globalint with GetGlobalInt(value). ;)


Stevo75

I did what it said but it still only reads the thing he should say after it. It worked once and then it didn't

Candle

Well if will do it again if you restart the game . it will only do it one time .

Stevo75

no i'm saying i tested it twice, it worked the first time, i saw i put the wrong message so i just changed the number of message and it stopped working and then i got mad and started screaming and hitting stuff. I tested it bazillions of other times and same deal

Candle

Well chill and put the code here so others can see it and help .

Stevo75

#7
http://www.toolkitzone.com/mygames/images/517/2034.PNG (Fixed BBCode - TerranRich)
What did I do wrong? And this is a ags game i'm just using my old file on toolkitzone to upload it

monkey0506

Try setting your Interaction Editor up to look like this:

Talk to character
|->Conditional - If a variable is set to a certain value (1, 0)
|-->Game - Run dialog (0)
|-->Game - Set variable value (1, 1)
|-->Stop running more commands
|->Conditional - If a variable is set to a certain value (1, 1)
|-->Game - Display a message ( 8 )

Supposing that you want to run dialog "0" the first time around, and display message 8 all following times.  At least I think that's right.  I never did like using the Interaction Editor.  I like working with the script better...

SMF spam blocked by CleanTalk