Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Elevator Script HELP please =)

Ody Naglo
Registered User
Join date: 1 Apr 2008
Posts: 31
09-21-2008 22:31
just forget it . . . Plenty of people talking not much getting done.

sorry was stressed.
Kornscope Komachi
Transitional human
Join date: 30 Aug 2006
Posts: 1,041
09-21-2008 23:57
Hi..
Firstly, post code to the forums with php tags. makes it easier to read.
Like this in square brakets

start code
CODE
 
CODE
 code 


did you change any values?
CODE
  list    floorHeights = [10.00,10.00,7.143,7.143,7.143];

//like it says here to change to minus one?
float fixedFloorHeight = 7.143; //Set to floor heights, or set to -1 to use floorHeights list

float fixedFloorHeight = -1; //Set to floor heights, or set to -1 to use floorHeights list


I'm probably way wrong cause I'm not a scriptor but someone may be along soon.
_____________________
SCOPE Homes, Bangu
-----------------------------------------------------------------
Ody Naglo
Registered User
Join date: 1 Apr 2008
Posts: 31
09-23-2008 11:57
just forget it . . . Plenty of people talking not much getting done.
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
09-23-2008 13:23
i think i see the problem, or at least part of it

From: someone

object_rez(key id)
{
llResetScript();
}


should be

From: someone

on_rez(integer start_param)
{
llResetScript();
}


object_rez(key id) is only called if you are rezzing something via the script
_____________________
Dark Heart Emporium

http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020

want more layers for tattoos, specifically for the head? vote here
http://jira.secondlife.com/browse/VWR-1449?

llDetectedCollision* Functions similar to touch
http://jira.secondlife.com/browse/SVC-3369
Ody Naglo
Registered User
Join date: 1 Apr 2008
Posts: 31
09-23-2008 16:23
From: Ruthven Willenov
i think i see the problem, or at least part of it



should be



object_rez(key id) is only called if you are rezzing something via the script





Oo there is nutten wrong with the script lol it just needs converting.

If you cant convert this one Anyone that has an elevator script that works off Call buttons to tell the floors. Would be fantastic also =)
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
09-23-2008 19:10
From: Ody Naglo
Oo there is nutten wrong with the script lol it just needs converting.


Well evidently there is something wrong with your script or you wouldn't be here :D

Look in the wiki for object_rez & on_rez. Your script isn't setting the initial reference point when it is being rezzed.

It makes it kind of difficult to help someone when the answer is given and then the answer is subsequently dismissed. We all volunteer our time to help people here with no recompense. Ruthven took time out of her personal life to try to help. If your not happy with the answer then I would suggest taking it to the Products Wanted forum and paying someone.
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
09-23-2008 19:32
From: Jesse Barnett
Ruthven took time out of her

i'm a guy btw, ruthven is the name of a fictional vampire, i believe originated in some novels written in the 1800's
not related to this topic, but yeah, lol
_____________________
Dark Heart Emporium

http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020

want more layers for tattoos, specifically for the head? vote here
http://jira.secondlife.com/browse/VWR-1449?

llDetectedCollision* Functions similar to touch
http://jira.secondlife.com/browse/SVC-3369
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
09-24-2008 08:26
From: Ruthven Willenov
i'm a guy btw, ruthven is the name of a fictional vampire, i believe originated in some novels written in the 1800's
not related to this topic, but yeah, lol

I apologize twice for this mistake because with the name Jesse, people constantly address me as a guy :rolleyes:
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
09-24-2008 08:42
lol, yeah, i remember reading that on another thread before.
_____________________
Dark Heart Emporium

http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020

want more layers for tattoos, specifically for the head? vote here
http://jira.secondlife.com/browse/VWR-1449?

llDetectedCollision* Functions similar to touch
http://jira.secondlife.com/browse/SVC-3369
Ody Naglo
Registered User
Join date: 1 Apr 2008
Posts: 31
09-24-2008 12:36
just forget it . . . and Jesse it was subsequently dismissed since it wasent even close to what I was asking for. The script needed converting to work a different way. its already functional.
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
09-26-2008 21:39
From: Ody Naglo
just forget it . . . Plenty of people talking not much getting done.


that was a very rude comment. i tried to answer your question and you indirectly told me i didn't know what i was talking about, when obviously it was you who didn't. and this is a forum, people talk in forums. see this definition.

From: someone

American Heritage Dictionary - Cite This Source - Share This fo·rum (fôr'əm, fōr'-) Pronunciation Key
n. pl. fo·rums also fo·ra (fôr'ə, fōr'ə)


The public square or marketplace of an ancient Roman city that was the assembly place for judicial activity and public business.
A public meeting place for open discussion.
A medium for open discussion or voicing of ideas, such as a newspaper, a radio or television program, or a website.
A public meeting or presentation involving a discussion usually among experts and often including audience participation.
A court of law; a tribunal.


also, coming off rude and impatient may deter people from wanting to help you. we don't learn our script skills in one day. most of the people in the forums have been scripting for years and probably still have lots to learn. you could have been more patient and alot less arrogent and waited to see if someone may have been able to help you a little more than what i already offered but you denied. instead you made a rude comment about a couple of people exchanging a little chat to clarify/correct a comment that was said about you refusing my help. i bet you're one of those customers that goes to a restaurant and acts like you're the only one that matters within a crowd of customers. and then you don't tip the waiter for perfectly good service because he didn't refill your water glass as quickly as you think he should
_____________________
Dark Heart Emporium

http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020

want more layers for tattoos, specifically for the head? vote here
http://jira.secondlife.com/browse/VWR-1449?

llDetectedCollision* Functions similar to touch
http://jira.secondlife.com/browse/SVC-3369
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
09-26-2008 21:45
wow, that was a mouth/handfull lol
_____________________
Dark Heart Emporium

http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020

want more layers for tattoos, specifically for the head? vote here
http://jira.secondlife.com/browse/VWR-1449?

llDetectedCollision* Functions similar to touch
http://jira.secondlife.com/browse/SVC-3369