Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: PaladinOfHonor on Tue 23/09/2003 14:16:36

Title: "Error" in coding - Hard explanation
Post by: PaladinOfHonor on Tue 23/09/2003 14:16:36
Hello again ,

I tried the "try and error" thing , and I do a little nice game.

I got myself the code for 'when you click and get something from hotspot , you cant take anymore' but thers one problem - I want him when he click on it to show another messege but he shouldnt take something (as you can see in my program).

Hers my program :

http://www.angelfire.com/dragon/gothic2/GladAdv.exe

And more question ;
How can I do that the character will SAY something when he lets say pick something ? (I dont mean that the computer will write something , I mean that he will talk like in dialogs).

Thx on the help ^^  :D
Title: Re:"Error" in codding - Hard explenation , pleas read ^^
Post by: SSH on Tue 23/09/2003 14:29:59
Well, if you use a room message, just chnage the pull-down box to select the character you wish to have talking.

Or, if you use a script:
DisplaySpeech

As for not having him take things when he shouldn't: make your Add Invetory interaction or script command part of a conditional...
Title: Re:"Error" in codding - Hard explenation , pleas read ^^
Post by: PaladinOfHonor on Tue 23/09/2003 16:42:52
Quote from: SSH on Tue 23/09/2003 14:29:59
Well, if you use a room message, just chnage the pull-down box to select the character you wish to have talking.

Or, if you use a script:
DisplaySpeech

As for not having him take things when he shouldn't: make your Add Invetory interaction or script command part of a conditional...

1 - Ill try right now....
<trying>
Whers the checking box ?  ???

2 - I dont realy know scripting so I didnt realy understand that part :/