Go Back   The Palace Avatar Chat Community Forums. > Palace Builders Palace Users > Room Scripts

Room Scripts Use this forum for your room scripts, copy them or add them.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-01-2006, 03:27 PM
Palace User
 
Join Date: May 2004
Location: West Virginia
Posts: 5
Rep Power: 0
Har£eQuiNN is on a distinguished road
PORTAL MENU SCRIPT

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
Reply With Quote
  #2 (permalink)  
Old 05-04-2009, 10:06 PM
HarleQuiNN's Avatar
Palace User
 
Join Date: Jan 2006
Location: West Virginia
Posts: 14
Rep Power: 0
HarleQuiNN is on a distinguished road
Icon4 Portal Revised and PICS lol

ROOM
ID 500
NAME "=+NWH Tour Guide+="
PICT "nwhtourdirect.jpg"
PICTURE ID 1 NAME "tourguidemusic.jpg" ENDPICTURE
PICTURE ID 2 NAME "tourguidemainhse.jpg" ENDPICTURE
PICTURE ID 3 NAME "tourguideprops.jpg" ENDPICTURE
PICTURE ID 4 NAME "tourguideromance.jpg" ENDPICTURE
PICTURE ID 5 NAME "tourguidewwland.jpg" ENDPICTURE
PICTURE ID 6 NAME "tourguidermcreate.jpg" ENDPICTURE
SPOT
ID 1
NAME "scroll through artist"
DONTMOVEHERE
OUTLINE 7,195 104,195 104,367 4,367
LOC 115,197
SCRIPT
ON SELECT { "hclick.wav" SOUND
{ 0 2 SETSPOTSTATELOCAL }
{ 2 GETSPOTSTATE 1+ 2 SETSPOTSTATELOCAL } 2 GETSPOTSTATE 4 > IFELSE
}
ENDSCRIPT
ENDSPOT
SPOT
ID 3
NAME "entermessage"
DONTMOVEHERE
OUTLINE 230,25 244,25 244,39 230,39
LOC 188,49
SCRIPT
ON ENTER {
"Click On the Western Guardian To Scroll Thru Our Available Rooms" LOCALMSG
"When Your Choice Is Made Click On The Picture" LOCALMSG
" Our Eastern Guardian Will Return You To The Gate!" LOCALMSG
}
ENDSCRIPT
ENDSPOT
DOOR
ID 2
NAME "gotoroom pics here"
SHADOW
OUTLINE 178,101 329,102 329,255 178,256
LOC 254,178
PICTS 2,0,0 1,0,0 3,0,0 4,0,0 5,0,0 6,0,0 ENDPICTS
SCRIPT
ON SELECT {
{ 169 GOTOROOM } 2 GETSPOTSTATE 0 == IF
{ 157 GOTOROOM } 2 GETSPOTSTATE 1 == IF
{ 110 GOTOROOM } 2 GETSPOTSTATE 2 == IF
{ 89 GOTOROOM } 2 GETSPOTSTATE 3 == IF
{ 153 GOTOROOM } 2 GETSPOTSTATE 4 == IF
{ 128 GOTOROOM } 2 GETSPOTSTATE 5 == IF
}
ENDSCRIPT
ENDDOOR
DOOR
ID 4
DEST 86
OUTLINE 416,193 499,193 507,370 403,361
LOC 379,274
ENDDOOR
ENDROOM
Attached Files
File Type: zip Portal Script and Pics.zip (655.3 KB, 1 views)
Reply With Quote
  #3 (permalink)  
Old 05-04-2009, 10:28 PM
maarten's Avatar
Palace Planet Founder
 
Join Date: Oct 2002
Location: DiGiLaNd
Posts: 1,169
Rep Power: 10
maarten is on a distinguished road
Very nice, thanks for sharing!
__________________
Please don't ask me for help in private, use the USER QUESTIONS forum if you need help.
Reply With Quote
Reply
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


The Latest Posts
Title, Username, & Date Last Post Forum
download
03-21-2011 11:20 AM
by maarten
User Questions
Palace for Mac OS 10.6?
03-13-2011 09:39 AM
by pawnipt
User Questions
Server
03-07-2011 04:52 PM
by satinrose
User Questions
Return room Script
02-24-2011 12:07 AM
by jaela
Room Scripts
Releasing source code
02-17-2011 09:19 AM
by Sman�
Developers Forum
Website spammers
01-26-2011 08:48 PM
by maarten
The Planet: Palace News
Online Users: 71
0 members and 71 guests
No Members online
Most users ever online was 1,010, 06-27-2007 at 11:45 PM.
Stats
Members: 5,112
Threads: 1,141
Posts: 4,004
Top Poster: maarten (1,169)
Welcome to our newest member, cliffymayers


All times are GMT +2. The time now is 12:18 PM.


Powered by vBulletin
Copyright ©2000 - 2011, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0