Sentance Line

Started by RichyVD, Sun 31/08/2003 20:10:15

Previous topic - Next topic

RichyVD

I'm wanting to put a sentance line thats shows a brief descripton of the hotspot/object that the cursor is over like in the curse of monkey island. Any ideas?

Ishmael

You mean like "A wooden chair" show somewhere on the screen, and when you move the cursor from the chair to a table it says "A sturdy looking table"? That can be done using SetLabelText, just making a labe big enough to fit the sentance in, then just in the hotspot interactions, in "Mouse over hotspot" select run script and put SetLabelText(SENTLINE,0,"Description here"); in there, where replace the SENTLINE with the GUI's name, and the 0 with the labels object number, and put the description in place of the "Description here"... I think it goes that easy. ;)
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.

SMF spam blocked by CleanTalk