There is something a bit difficult to me

Started by Legge, Mon 17/05/2004 16:37:37

Previous topic - Next topic

Legge

Do anybody here know how to add a thing so for example: If someone says Hi! then he wont say it again if i try to talk to him.


And another thing...how do i add a thing so the text will come for example: When i start in the game he will say something.
He is fast

He is strong

But really, He is my dog

im a website hoster, i host websites(But not that much mb webspace)

SSH

Quote from: Legge on Mon 17/05/2004 16:37:37
Do anybody here know how to add a thing so for example: If someone says Hi! then he wont say it again if i try to talk to him.

You need to set a variable the first time, and then check if that variable is set. The manual will explain to you how to set variables far beeter than I could (press F1 when in AGS to get the manual). Try going through the tutorial, it's very good.

Quote
And another thing...how do i add a thing so the text will come for example: When i start in the game he will say something.
Use the "First time player eneters room" interaction on your starting room.
12

Ashen

If it's in a dialog, you could try turning the 'Hi' option off (SetDialogOption(); in normal script, or option-off in dialog script. Otherwise, use a variable, like SSH said.
I know what you're thinking ... Don't think that.

Legge

#3
SSH:Where do i find first time player enters???
He is fast

He is strong

But really, He is my dog

im a website hoster, i host websites(But not that much mb webspace)

Ashen

In the room interaction list, the little red i on the room settings page.
I know what you're thinking ... Don't think that.

Legge

He is fast

He is strong

But really, He is my dog

im a website hoster, i host websites(But not that much mb webspace)

TerranRich

Next time, use a more descriptive thread title.
Status: Trying to come up with some ideas...

Legge

Quote from: terranRICH on Tue 18/05/2004 04:43:19
Next time, use a more descriptive thread title.

ok.
SSH: Could you tell me WHERE in the manual? beacuse i searched for speech variables and just variables but i didnt find anything that explained...
He is fast

He is strong

But really, He is my dog

im a website hoster, i host websites(But not that much mb webspace)

Legge

Oh, and another thing...how do i make the thing so i can show my score?
He is fast

He is strong

But really, He is my dog

im a website hoster, i host websites(But not that much mb webspace)

Scorpiorus

Quote from: Legge on Tue 18/05/2004 19:34:34Could you tell me WHERE in the manual? beacuse i searched for speech variables and just variables but i didnt find anything that explained...
Text scripting > Scripting tutorial part 1. Also be sure to check the AGS Beginners' FAQ

Quote from: Legge on Tue 18/05/2004 21:09:12
Oh, and another thing...how do i make the thing so i can show my score?
Add a label to the GUI and change its text to @SCORETEXT@. Btw, this is also in both AGS manual and AGS Beginners' FAQ.

Isegrim

Have you ever considered looking at the source code of Demo Quest? There you might well find the answers to all the questions you have asked so far!
Note that this will take you some hours, but if you haven't got enough patience for this, then you shouldn't have started using AGS at all!
This post was generated automatically and therefore bears no signature.

SMF spam blocked by CleanTalk