Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Rez Timer

Nerolus Mosienko
Registered User
Join date: 3 Aug 2006
Posts: 145
02-18-2008 20:40
Hey there!I'm making a comet rezzer and for the rezzing object itself, right now it's set to rez the comet when I click the rezzer. I'd like to change it to rez every 60 seconds or so, all on it's own. I've looked into the timing but I'm completely stumped. Any help is greatly apprecited! Here's what I've got:

default
{
touch_start(integer dix)
{
integer i;
vector pos = llGetPos() + <0,0,10>;

for (i = 0; i < 1; i++)
{
llRezObject("comet", pos, ZERO_VECTOR, ZERO_ROTATION, 1);
}

llResetScript();
}
}
Kaluura Boa
Polygon Project
Join date: 27 Mar 2007
Posts: 194
02-18-2008 20:48
http://www.lslwiki.net/lslwiki/wakka.php?wakka=llSetTimerEvent

The example should tell everything you need to know about timers. What else can I say?