Scriptnames for Objects

Started by , Sat 03/01/2004 11:30:55

Previous topic - Next topic

Kokske

Hi,

I want to start a dialog with a character embedded in the background.
first I made it an object with the right area but when i wrote the script i had to ad the scriptname of this object.
How do i give this object a scriptname or do I have to make a new character?

Thanx

Ishmael

Objects are room independent, interactable items, that are controlled via either the interaction editor or script in the current room. Objects do not have a scriptname. Objects cannot "talk" either. Ofcource, you can make an object talk with overlays or the DisplaySpeechAt command.

Characters then, are global, and have a scriptname, and they can talk.

If you want a room item talking, and you want it easy, use a character, or the DisplaySpeechAt command with a character in another room, and the suitable talking color, to display speech above the object, and possible the AnimateObject command to make it move it's mouth or whatever.
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

Kokske

i think im gonna make a character thats completely invisible and im gonna place it over the object.
Maybe thhis will work
thanx for yur help mate

SMF spam blocked by CleanTalk