Go Back   The Palace Avatar Chat Community Forums. > Palace Builders Palace Users > Scripting Help

Scripting Help Iptscrae et omni potentum, Scripting is all powerfull. So here you can ask for Help with your scripting problems.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-18-2007, 04:47 AM
PleasureMaster's Avatar
Palace User
 
Join Date: Feb 2007
Posts: 13
Rep Power: 0
PleasureMaster is on a distinguished road
Icon6 need a few server scripts

I am building my second palace after great fun and sucess with my first one what i am looking for is a ascript i seen in another palace that makes ur av apear to be climbing the stairs then disapears at the top the the next room.

also i am having trouble getting more then 5 pics to show in a links room not sure what part of the script to change.
Reply With Quote
  #2 (permalink)  
Old 02-18-2007, 11:18 PM
Finna's Avatar
Super Moderator
 
Join Date: Mar 2006
Location: MO, USA
Posts: 55
Rep Power: 6
Finna is on a distinguished road
ok a couple of questions for ya, one do you want it on select or as a command being said? and two do you want it to dress the person in a set av?

Quote: Originally Posted by
also i am having trouble getting more then 5 pics to show in a links room not sure what part of the script to change
which script are you using
__________________
If all the worlds a stage, who handles the rewrites?

Last edited by Finna; 02-18-2007 at 11:21 PM.
Reply With Quote
  #3 (permalink)  
Old 02-19-2007, 04:59 PM
PleasureMaster's Avatar
Palace User
 
Join Date: Feb 2007
Posts: 13
Rep Power: 0
PleasureMaster is on a distinguished road
what scripts am i using?

ok for the stair climb i have the prop gate link at top of stairs so when they clk that door so ON SELECT i want the script to happen the stairs are dead center in the room if that helps u with prop positioning...............and here is the links room script i am trying to get to work i can only get it to show 5 pics i want 10 if possible.

SPOT
ID 1
DONTMOVEHERE
OUTLINE 354,155 457,155 457,197 354,197
LOC 405,176
SCRIPT
ON SELECT { "click" SOUND
{ 0 2 SETSPOTSTATELOCAL }
{ 2 GETSPOTSTATE 1+ 2 SETSPOTSTATELOCAL } 2 GETSPOTSTATE 4 > IFELSE
}
ENDSCRIPT
ENDSPOT
DOOR
ID 2
DONTMOVEHERE
OUTLINE 198,155 326,155 326,248 198,248
LOC 262,201
PICTS 1,0,0 2,0,0 3,0,0 9,0,0 5,0,0 6,0,0 ENDPICTS
SCRIPT
ON SELECT {
{ "Click The Next Palace Window First" LOCALMSG } 2 GETSPOTSTATE 0 == IF
{ { "palace://dollz.hotcity.com" NETGOTO } 25 ALARMEXEC } 2 GETSPOTSTATE 1 == IF
{ { "palace://sithempire.hotcity.cc" NETGOTO } 25 ALARMEXEC } 2 GETSPOTSTATE 2 == IF
{ { "palace://twisted.dent.com" NETGOTO } 25 ALARMEXEC } 2 GETSPOTSTATE 3 == IF
{ { "palace://practice.chatserve.com" NETGOTO } 25 ALARMEXEC } 2 GETSPOTSTATE 4 == IF
{ { "palace://tms2.net" NETGOTO } 25 ALARMEXEC } 2 GETSPOTSTATE 5 == IF
}
ENDSCRIPT
ENDDOOR
SPOT
ID 3
DONTMOVEHERE
OUTLINE 57,152 171,152 171,201 57,201
LOC 114,176
SCRIPT
ON SELECT { "click" SOUND
{ 5 2 SETSPOTSTATELOCAL }
{ 2 GETSPOTSTATE 1- 2 SETSPOTSTATELOCAL } 2 GETSPOTSTATE 1 < IFELSE
}
ENDSCRIPT
ENDSPOT
Reply With Quote
  #4 (permalink)  
Old 02-19-2007, 05:17 PM
Finna's Avatar
Super Moderator
 
Join Date: Mar 2006
Location: MO, USA
Posts: 55
Rep Power: 6
Finna is on a distinguished road
ok for the steps this script will work though you need to change the x y in it


ON SELECT {
tour GLOBAL 1 tour =
125 205 SETPOS
{{ 125 205 SETPOS } 20 ALARMEXEC
{ 135 200 SETPOS } 30 ALARMEXEC
{ 145 195 SETPOS } 40 ALARMEXEC
{ 155 190 SETPOS } 50 ALARMEXEC
{ 165 185 SETPOS } 60 ALARMEXEC
{ 175 180 SETPOS } 70 ALARMEXEC
{ 185 175 SETPOS } 80 ALARMEXEC
{ 195 170 SETPOS } 90 ALARMEXEC
{ 205 165 SETPOS } 100 ALARMEXEC
{ 215 160 SETPOS } 110 ALARMEXEC
{ 225 155 SETPOS } 120 ALARMEXEC
{ 235 150 SETPOS } 130 ALARMEXEC
{ 245 145 SETPOS } 140 ALARMEXEC
{ 255 140 SETPOS } 150 ALARMEXEC
{ 265 135 SETPOS } 160 ALARMEXEC
{ 275 130 SETPOS } 170 ALARMEXEC
{ 285 125 SETPOS } 180 ALARMEXEC
{ 295 120 SETPOS } 190 ALARMEXEC
{ 305 115 SETPOS } 200 ALARMEXEC
{ 315 110 SETPOS } 210 ALARMEXEC
{ 325 105 SETPOS } 220 ALARMEXEC
{ 335 100 SETPOS } 230 ALARMEXEC
{ 345 95 SETPOS } 240 ALARMEXEC
{ 355 90 SETPOS } 250 ALARMEXEC
{ 365 85 SETPOS } 260 ALARMEXEC
{ 375 80 SETPOS } 270 ALARMEXEC
{ 385 75 SETPOS } 280 ALARMEXEC
{ 395 70 SETPOS } 290 ALARMEXEC
{ 405 65 SETPOS } 300 ALARMEXEC
{ 415 60 SETPOS } 310 ALARMEXEC
{ 425 62 SETPOS } 320 ALARMEXEC
{ 430 65 SETPOS } 330 ALARMEXEC
{ 435 62 SETPOS } 340 ALARMEXEC
{ 440 60 SETPOS } 350 ALARMEXEC
{ 455 62 SETPOS } 360 ALARMEXEC
{ 460 65 SETPOS } 370 ALARMEXEC
{ 465 67 SETPOS } 380 ALARMEXEC
{ 470 70 SETPOS } 390 ALARMEXEC
{ 475 67 SETPOS } 400 ALARMEXEC
{ 480 65 SETPOS } 410 ALARMEXEC
{ 485 62 SETPOS } 420 ALARMEXEC
{ 490 60 SETPOS } 430 ALARMEXEC
{ 495 62 SETPOS } 440 ALARMEXEC
{ 500 65 SETPOS } 450 ALARMEXEC
{ 505 62 SETPOS } 460 ALARMEXEC
{ 3294 GOTOROOM } 470 ALARMEXEC
} tour IF
}



to find the pos tho you can put this script in your borg under ON OUTCHAT

{ ";My current position: " POSX ITOA & " " & POSY ITOA & LOCALMSG "" CHATSTR = } CHATSTR "myp" == IF

once its in you can get your xp pos for the script buy putting the prop on moving where you want it to be and type myp using the numbers in the log for your xy

if you want to slow down the speed moving up the steps change this part of the script 20 ALARMEXEC the higher the number the slower it moves so adding 20 to each would slow it down, also you might not need as many lines for the pos as is there it is alright to take the extra ones out just make sure you leave the last 3 lines


now for the link room

Quote: Originally Posted by
SPOT
ID 1
DONTMOVEHERE
OUTLINE 354,155 457,155 457,197 354,197
LOC 405,176
SCRIPT
ON SELECT { "click" SOUND
{ 0 2 SETSPOTSTATELOCAL }
{ 2 GETSPOTSTATE 1+ 2 SETSPOTSTATELOCAL } 2 GETSPOTSTATE 4 > IFELSE
}
this part here 2 GETSPOTSTATE 4 > change the 4 to 9


Quote: Originally Posted by
SPOT
ID 3
DONTMOVEHERE
OUTLINE 57,152 171,152 171,201 57,201
LOC 114,176
SCRIPT
ON SELECT { "click" SOUND
{ 5 2 SETSPOTSTATELOCAL }
{ 2 GETSPOTSTATE 1- 2 SETSPOTSTATELOCAL } 2 GETSPOTSTATE 1 < IFELSE
}
and in this door { 5 2 SETSPOTSTATELOCAL } change the 5 in this part of the script to 10 and that should make it work for you
__________________
If all the worlds a stage, who handles the rewrites?
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
I write Scripts QKing Scripting Help 10 09-13-2008 11:00 AM
Wiz Scripts 2 maarten Borg scripts 0 01-06-2005 11:32 AM
Password Scripts complexity Room Scripts 0 12-27-2004 11:16 AM
HELP HELP - Palace Server running on Windows 2000 server mariosteve User Questions 8 09-19-2004 11:18 AM
New door scripts! Bec Scripting Help 2 06-28-2004 09:34 AM

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: 66
1 members and 65 guests
VeraFlorsewal
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 03:00 PM.


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