|
Stephen Arnold
Easy Real Estate - Owner
Join date: 17 Nov 2006
Posts: 16
|
11-20-2006 08:40
I bought a skyscraper with an Elevator on Second Life Exchange... And there is a problem with it... The skyscraper is fine... But the elevator when I set it to the main floors Altitude and I try to go to the second floor it brings me to the third floor... Can someone help me with it... I.M. me ingame (Stephen Arnold) this is driving me nuts... If anyone has any experiance with Elevators please help me... Thanks...
P.S. If you want to take a look at it I will be on at 3:00 EST this after noon... I.M. me or reply to this if you know how to help... Thanks
_____________________
Stephen Arnold Founder/CEO Easy Real Estate
"Making your Second Life a little Easier -- Easy Real Estate"
|
|
Tiarnalalon Sismondi
Registered User
Join date: 1 Jun 2006
Posts: 402
|
11-20-2006 09:07
Normally on elevators, if you do an edit menu move on it, you need to reset all the scripts as well so it will know where the new ground floor position is.
|
|
Ceera Murakami
Texture Artist / Builder
Join date: 9 Sep 2005
Posts: 7,750
|
11-20-2006 10:00
There should be a notecard in the elevator's root prim that has the coordinates for each floor's position. These are usually absolute positions for altitude. Meaning they don't calculate from your ground floor level, but rather from the zero value on the Z-axis. This is true in particular for physical elevators that allow multiple people to ride them without sitting on anything.
However, other elevator scripts calculate an offset from the position of each stop. This is usually true only for single-user 'sit elevators', where you must choose a destination and then sit on something to go there.
If your elevator was very well scripted, merely rezzing the building, positioning it, and then resetting the elevator script may be sufficient for it to calculate an offset so it knows where it should really stop. In this case, a reset of the elevator script may be all you need.
A good but not as elegant code solution will require you to determine the actual Z-height of your ground floor prim, and enter that information on the notecard in an altitude offset variable.
The least elegant solution would require you to determine the z-height for each floor, and enter new coordinates for each floor in the notecard.
With any of the above, after changing a notecard, reset the script so it reads the new card values.
_____________________
Sorry, LL won't let me tell you where I sell my textures and where I offer my services as a sim builder. Ask me in-world.
|