Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

temporary time speed up ..or something :)

Lostmedia Ares
Drinking tea
Join date: 6 Sep 2006
Posts: 290
05-07-2008 06:31
Hi , First of all I'm a total nooblet in the scripting department ...some stuff i can do .. other stuff not a chance , I have tryed to find time to learn more and things will get better in time ... i just get a bit stumped if people turn to techie on me and just splash LSL code and expect me to know where to add it into a script :)...so feel free to treat me like a new born asking " How do i jump? "

Ok , I have a prim that is set to rez an object on a time delay , I set it to phantom and switched on "temporary " ( a prim with a texture on it ) but i want it to rez ... then then vanish ( Or Die ) allmost right after that .... kind of ...Rez .. .. show ... Gone ...All within a second maybe two .

The thing is the " temporary " time is way too long i need to be able to control the time its rezzed for

At present the object will rez do what i want it to do and i tryed a little cheat by added another sctipt to it to alter its hight to shoot it up in the air out of view and then the temporary kicks in and away it goes ...silly i know ... but as i said im a noob :) .... it will shoot up but only a maxim of 10 meters ... and this little cheaty work round is really not how i want this thing to be .


So i guess my question is ... How do i get it to Rezz .. show ... and go ! :)

Any help here would be good help ... I know this is a very very simple and basic thing to do so im sorry to be such an idiot ...i just need help .

Thanks in advance :)
_____________________
Aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it deosn't mttaer in waht oredr the ltteers in a wrod are, the olny iprmoetnt tihng is taht the frist and lsat ltteer be at the rghit pclae. The rset can be a toatl mses and you can sitll raed it wouthit porbelm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe.
Haruki Watanabe
llSLCrash(void);
Join date: 28 Mar 2007
Posts: 434
05-07-2008 06:46
Set up a script in the object you're rezzing that tells the object to die after a certain time...

something like...

CODE


on_rez(integer blah){
llSetTimerEvent(10.0);
}

timer(){
llDie();
}




This should do the trick...

Remember though, that it might take some time for the texture to rez - so set the time until die long enough, that the user sees more than just a grey prim... :)
Lostmedia Ares
Drinking tea
Join date: 6 Sep 2006
Posts: 290
05-07-2008 07:49
From: Haruki Watanabe
Set up a script in the object you're rezzing that tells the object to die after a certain time...

something like...

CODE


on_rez(integer blah){
llSetTimerEvent(10.0);
}

timer(){
llDie();
}




This should do the trick...

Remember though, that it might take some time for the texture to rez - so set the time until die long enough, that the user sees more than just a grey prim... :)



Thank you very much Haruki :) ... I knew it would be just a simple little sting of code .... it was just difficult to find , I hope this helps others too .

I will give it a try and test the time needed for the texture to rez on avery slow connection .. and that should do the trick :)

Thanks again .
_____________________
Aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it deosn't mttaer in waht oredr the ltteers in a wrod are, the olny iprmoetnt tihng is taht the frist and lsat ltteer be at the rghit pclae. The rset can be a toatl mses and you can sitll raed it wouthit porbelm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe.
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
05-07-2008 10:40
I suggest keeping the object temporary too though. It fits, and won't add to the parcel's count of permanent prims and such.