Sound problems

Started by , Sun 18/05/2003 17:03:59

Previous topic - Next topic

Michael Hillebrand

Hi there!

Can anybody tell me how to use sounds?
For example in the background or speech when i want
to talk to a character in the game...
I've especially problems in loading sounds
Like the  Room Editor->Settings->Play Music on room load...which number do they wanna have!?

I hope you help me,
thanks,
Michael

Michael Hillebrand

Hello!

Sorry, it's me again :-) I found out the mistake i made sorry!
But instead i've another question. I want to make the opportunity to pick up a character and even when i have the character in my inventar the possibility to go on talking to him.

Scorpiorus

QuoteI want to make the opportunity to pick up a character
To pick up a char you need to make an inventory item which represents your character. Then add next code into the character's interaction:


character[<name>].room = -1; // remove the char from the screen.
AddInventory(<char item>);   // add inv. item representing the char.


Quoteand even when i have the character in my inventar the possibility to go on talking to him.
Here you should make some interaction with inventory item which runs a dialog you want. Of course you need to place the real character into the current room in order to be able to talk to him. After the dialog has been finished you may remove the character again.

-Cheers

SMF spam blocked by CleanTalk