Knowledgebase
Storm Palace Hosting
>
Storm Hosting Help Desk
>
Knowledgebase
Ask a question:
Loading knowledgebase suggestions...
Room Navigation Scripts
Solution
Submitted by selene ;)
;NAV ROOM
; LEFT BUTTON - BACK
ON SELECT { picsspot GLOBAL numlinks GLOBAL
"click" SOUND
{ 3 picsspot setspotstatelocal }
{ picsspot getspotstate 1+ picsspot setspotstatelocal } picsspot getspotstate numlinks 1 - > ifelse
}
************************************************************************************************************************
************************************************************************************************************************
; RIGHT BUTTON - FORWARD
ON SELECT { picsspot GLOBAL numlinks GLOBAL
"click" sound
{ numlinks picsspot setspotstatelocal }
{ picsspot getspotstate 1- picsspot setspotstatelocal } picsspot getspotstate 1 < ifelse
}
**********************************************************************************************************************
**********************************************************************************************************************
;MAIN DOOR - EDIT SCRIPT_ GOTOROOMs
ON ENTER { picsspot GLOBAL numlinks
GLOBAL
"Welcome to " ServerName & " Room Navigation Previews.
Click on Navigation Buttons to Reverse or Forward Images''CLICK ON IMAGE TO NAVIGATE" & LocalMsg
;change the number 2 for the number of spotID this is.
2 picsspot =
;change the 5 for the number of links you have not
counting the title
14 numlinks =
}
ON SELECT { picsspot GLOBAL numlinks GLOBAL
{ "Select Destination first please" LOCALMSG } picsspot
GETSPOTSTATE 0 == IF
{ "" CHATSTR = 2100 GOTOROOM } picsspot GETSPOTSTATE 1
== IF
{ "" CHATSTR = 167 GOTOROOM } picsspot GETSPOTSTATE 2
== IF
{ "" CHATSTR = 164 GOTOROOM } picsspot GETSPOTSTATE 3
== IF
{ "" CHATSTR = 169 GOTOROOM } picsspot GETSPOTSTATE 4
== IF
{ "" CHATSTR = 313 GOTOROOM } picsspot GETSPOTSTATE 5
== IF
{ "" CHATSTR = 443 GOTOROOM } picsspot GETSPOTSTATE 6
== IF
{ "" CHATSTR = 114 GOTOROOM } picsspot GETSPOTSTATE 7
== IF
{ "" CHATSTR = 322 GOTOROOM } picsspot GETSPOTSTATE 8
== IF
{ "" CHATSTR = 228 GOTOROOM } picsspot GETSPOTSTATE 9
== IF
{ "" CHATSTR = 179 GOTOROOM } picsspot GETSPOTSTATE 10
== IF
{ "" CHATSTR = 303 GOTOROOM } picsspot GETSPOTSTATE 11
== IF
{ "" CHATSTR = 94 GOTOROOM } picsspot GETSPOTSTATE 12
== IF
{ "" CHATSTR = 312 GOTOROOM } picsspot GETSPOTSTATE 13
== IF
{ "" CHATSTR = 283 GOTOROOM } picsspot GETSPOTSTATE 14
== IF
}
;MAIN DOOR - EDIT IMAGES - PICTURE LIST
blank.gif
221
261
271
281
Nav_Thmb_Ero_398-a.jpg
Nav_Thmb_Ava_388-a.jpg
Nav_Thmb_Bch_371.jpg
Nav_Thmb_Bed_331.jpg
Nav_Thmb_Den_351.jpg
Nav_Thmb_Fan_361.jpg
Nav_Thmb_Game_378.jpg
Nav_Thmb_Gar_391.jpg
Nav_Thmb_Nat_321.jpg
Nav_Thmb_Link_368.jpg
Nav_Thmb_Par_311.jpg
Nav_Thmb_Rom_341.jpg
Nav_Thmb_Ser_351.jpg
Nav_Thmb_Sun_381.jpg
Was this article helpful?
yes
/
no
Article details
Article ID:
246
Category:
Room Scripts
Date added:
07-26-2011 02:20:10
Views:
482
Rating (Votes):
(0)
<<
Go back
Powered by
Help Desk Software
HESK™