PDA

View Full Version : PORTAL MENU SCRIPT


Har£eQuiNN
03-01-2006, 04:28 PM
ROOM
ID 9998
PRIVATE
NAME "~\A4Portal \A4~"
PICT "clouds.gif"
ARTIST "HarleQuiNN"
PICTURE ID 1 NAME "example01.gif" TRANSCOLOR 0 ENDPICTURE
PICTURE ID 2 NAME "example02.gif" TRANSCOLOR 0 ENDPICTURE
PICTURE ID 3 NAME "example03.gif" TRANSCOLOR 0 ENDPICTURE
SPOT
ID 1
NAME "Choose Your Selcection"
DONTMOVEHERE
SHOWNAME
OUTLINE 134,278 341,278 341,302 134,302
LOC 242,280
SCRIPT
ON SELECT { "click" SOUND
{ 0 2 SETSPOTSTATELOCAL }
{ 2 GETSPOTSTATE 1+ 2 SETSPOTSTATELOCAL } 2 GETSPOTSTATE 2 > IFELSE
}
ENDSCRIPT
ENDSPOT
SPOT
ID 3
NAME "entermessage"
DONTMOVEHERE
SHOWNAME
OUTLINE 195,33 274,33 274,56 195,56
LOC 235,43
SCRIPT
ON ENTER {
"Welcome to PALACE NAME HERE..... instructions are in your log." LOCALMSG
"Use the next button to scroll through your choices..." LOGMSG
"Once you have made a decision, click on it." LOGMSG
"And you will be transported to that room!" LOCALMSG
}
ENDSCRIPT
ENDSPOT
DOOR
ID 2
NAME "Go to room (add destination pictures here)"
SHOWNAME
OUTLINE 120,99 362,99 363,236 120,231
LOC 239,156
PICTS 1,0,0 2,0,0 3,0,0 ENDPICTS
SCRIPT
ON SELECT {
{ 276 GOTOROOM } 2 GETSPOTSTATE 0 == IF
{ 3643 GOTOROOM } 2 GETSPOTSTATE 1 == IF
{ 3650 GOTOROOM } 2 GETSPOTSTATE 2 == IF
{ 531 GOTOROOM } 2 GETSPOTSTATE 3 == IF
}
ENDSCRIPT
ENDDOOR
ENDROOM

maarten
04-29-2006, 11:32 PM
So where are the pics? 8)

You can use the attachement option on the forum to add them :) Thanks!