These forums are CLOSED. Please visit the new forums HERE
need rez timer script |
|
|
native Bigbear
Registered User
Join date: 14 Dec 2008
Posts: 17
|
04-13-2009 18:44
hi i have made a object rez from a prim it works if i click it but like to know the string to add so it auto rezz so it loops itself and keeps rezzing on a timer
|
|
Destiny Niles
Registered User
Join date: 23 Aug 2006
Posts: 949
|
04-13-2009 20:07
Seems like there is not a rush of people to help someone who don't know how to do a basic timer function and probably will be used in violation of TOS.
What you are asking for is very poor scripting and will cause unnecessary lag. |
|
Keira Wells
Blender Sculptor
Join date: 16 Mar 2008
Posts: 2,371
|
04-13-2009 20:14
Seems like there is not a rush of people to help someone who don't know how to do a basic timer function and probably will be used in violation of TOS. What you are asking for is very poor scripting and will cause unnecessary lag. It's not in violation of the TOS if used properly, and can actually have good reasons when, as I said, used properly. Also, why would nobody want to help teach how to do a basic timer function? Some elitism or something? What you want to use is the llSetTimerEvent(x) function to start a timer for x seconds, along with the timer() event that is triggered at the end of that time. _____________________
Tutorials for Sculpties using Blender!
Http://www.youtube.com/user/BlenderSL |
|
Sindy Tsure
Will script for shoes
Join date: 18 Sep 2006
Posts: 4,103
|
04-13-2009 20:41
It's not in violation of the TOS if used properly, and can actually have good reasons when, as I said, used properly.. Yep.. But if not used properly you're AR-bait, despite anything Phil might tell you.. Improper use would be something like rezzing temp objects once a minute to get around your prim limits. Don't go there. |
|
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
|
04-13-2009 20:45
Here is a basic timer for rezzing. As noted you want to be careful, there are uses for rezzing in a timer but you do not want to use this to temp rez a couple hundred prims every 50 seconds. Not nice to your neighbors and the Lindens will confiscate it if they notice the sim having problems. No matter what else thou, keep learning and have fun:
CODE
The wiki is the place you can learn what different ll functions are, how to use them and see examples: http://lslwiki.net/lslwiki/wakka.php?wakka=HomePage && http://wiki.secondlife.com/wiki/LSL_Portal _____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum |
|
Keira Wells
Blender Sculptor
Join date: 16 Mar 2008
Posts: 2,371
|
04-13-2009 20:59
Yep.. But if not used properly you're AR-bait, despite anything Phil might tell you.. Improper use would be something like rezzing temp objects once a minute to get around your prim limits. Don't go there. I enjoy giving the benefit of the doubt. If they do something stupid, it's not my fault. There is no hope of creating new ideas without ability, and many need help getting that. _____________________
Tutorials for Sculpties using Blender!
Http://www.youtube.com/user/BlenderSL |
|
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
|
04-13-2009 23:39
don't forget to throw a llSetTimerEvent( 0 ); to stop it from continually rezzing objects if that isn't your intent.
PS not everyone continuously scans the forums for questions to answer... sometimes it takes a while to get an answer... _____________________
|
| . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - |
|
Keira Wells
Blender Sculptor
Join date: 16 Mar 2008
Posts: 2,371
|
04-13-2009 23:40
PS not everyone continuously scans the forums for questions to answer... sometimes it takes a while to get an answer... Especially in the content creation forums, as more people are active in the Resident Answers forum. Questions _very_ rarely go unanswered though, so just be patient, and all will be revealed..or..or something. Yeah ^-^ _____________________
Tutorials for Sculpties using Blender!
Http://www.youtube.com/user/BlenderSL |
|
native Bigbear
Registered User
Join date: 14 Dec 2008
Posts: 17
|
04-14-2009 02:12
For those who seem concernd its a simple rock fall which will be on a temp and i will be not causing any collisions i hope that clears this up
![]() |
|
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
|
04-14-2009 03:48
Per Void's suggestion. Here is how to do it with a simple integer switch to turn it off and on with touch:
CODE
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
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
|
04-14-2009 04:40
For those who seem concernd its a simple rock fall which will be on a temp and i will be not causing any collisions i hope that clears this up ![]() a rock fall without collisions? how's that? for it to actually fall it would need to be physical, and for it not to collide, it would also need to be phantom, but then it would just go straight down and go thru the ground, not very realistic _____________________
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 |
|
Sindy Tsure
Will script for shoes
Join date: 18 Sep 2006
Posts: 4,103
|
04-14-2009 07:41
For those who seem concernd its a simple rock fall which will be on a temp and i will be not causing any collisions i hope that clears this up ![]() The concern with temp rezzing is usually more about how often you're doing it.. Some people rez things over and over, once a minute forever, to get around prim limits. It's perfectly ok to use them for other purposes - I temp rez stuff all the time but it's always on-demand. |