Scripting

Started by Phemar, Sun 07/03/2004 13:43:15

Previous topic - Next topic

Phemar

Hey, really sorry to bother you guys again, but this script won't work and I can't see anything wrong with it:

// room script file

#sectionstart hotspot2_a  // DO NOT EDIT OR REMOVE THIS LINE
function hotspot2_a() {
 // script for hotspot2: Any click on hotspot
 RestoreGameDialog ();
 }
 

#sectionend hotspot2_a  // DO NOT EDIT OR REMOVE THIS LINE

#sectionstart hotspot3_a  // DO NOT EDIT OR REMOVE THIS LINE
function hotspot3_a() {
 // script for hotspot3: Any click on hotspot
 QuitGame (1);
 }
 

#sectionend hotspot3_a  // DO NOT EDIT OR REMOVE THIS LINE

#sectionstart hotspot1_a  // DO NOT EDIT OR REMOVE THIS LINE
function hotspot1_a() {
 // script for hotspot1: Any click on hotspot
 NewRoomEx (3, 228, 157);
 }
 

#sectionend hotspot1_a  // DO NOT EDIT OR REMOVE THIS LINE

I've tried everything!

Ishmael

What do you mean it doesn't work? Have you created the scripts through the interaction editor? Does it give you errors?
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.

CB..

try clicking on the hot spots with the hand icon /the walk icon doesn't use anyclick ? (which confused me for a while )

Pumaman

Yeah, you'll have to be more specific about what does and doesn't work.

Phemar


Oooh, wait, it's working now. You can't use the walk cursor to click on these things

SMF spam blocked by CleanTalk