|
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
|
08-16-2008 07:06
i just tried this script out from the scripting libbary on the wiki. i love it, but i wonder if there's any way to make it return "home" after it finishes rezzing, or to put a temp rez timer in it? if not it'd probably be easier just to build the stairs and then just put that in a regular temp rezzer edit: might help if i provided the link to the script lol http://wiki.secondlife.com/wiki/Spiral_Staircase_Generator
|
|
nand Nerd
Flexi Fanatic
Join date: 4 Oct 2005
Posts: 427
|
08-18-2008 04:58
I'll split your question down and answer it in parts: From: Ruthven Willenov ...if there's any way to make it return "home" after it finishes rezzing Yep, save the "home" position into a global variable either by entering it manually or by saving the llGetPos() before you start rezzing. Once it's done you can move it back to the home position with a while loop of llSetPos()'s or use the ole Warppos hack. From: Ruthven Willenov or to put a temp rez timer in it? temp_on_rez is a property of the prim, so you would take the building block out of the staircase rezzer and check the temp on rez checkbox before putting it back in the rezzer. Then the prims that are rezzed will die after the temp rez timer (a region defined time based on a bunch of factors AFAIK). Alternatively (and not a great one due to number of scripts) you could add a script to kill the prim after x seconds, perhaps combine this script with the script in the building block. From: Ruthven Willenov if not it'd probably be easier just to build the stairs and then just put that in a regular temp rezzer I reckon this would be your best option, it saves your region some grief from re-computing the position and rotation of each prim and rezzing them individually. However, I'm not an advocate for using temp-rezzers, they can still be quite a burden on the sim. If you can't afford the prims then why not look for an alternative design?
_____________________
www.nandnerd.info http://ordinalmalaprop.com/forum - Ordinal Malaprop's Scripting Forum
|