|
Robustus Hax
Registered User
Join date: 4 Feb 2007
Posts: 231
|
03-14-2007 12:21
Hey all, I'm very new to scripting, realy have very little scripting background, but with how into SL i've gotten Ive dedicated myself to learning the scripting to make my imagination come to life Anyway I was hoping a kind soul could provide some input. I'm creating a bot [after long hours tinkering, finally got the bot to move around to predestined paths] but anyway, I see that there is a way to set Eventtimer to time an event, which is great and I can use this, however I was wondering - is it possible to trigger events based on real time. Like for instance every hour on the dot have this bot's script start up, he will go through his motions, the script will return him to his starting point and lay dormant until the next hour comes where it starts again. Is this possible? I'm also wondering if anyone can provide a little more insight onto how to smooth the motion of a non-physical object. I can set it so the bot moves in smaller paces, but it still seems a bit awkward. Keep in mind I'm very new to scripting, but am getting the basic concepts. Any advice would be greatly appreciated!
|
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
03-14-2007 12:33
From: Robustus Hax Hey all, I'm very new to scripting, realy have very little scripting background, but with how into SL i've gotten Ive dedicated myself to learning the scripting to make my imagination come to life Anyway I was hoping a kind soul could provide some input. I'm creating a bot [after long hours tinkering, finally got the bot to move around to predestined paths] but anyway, I see that there is a way to set Eventtimer to time an event, which is great and I can use this, however I was wondering - is it possible to trigger events based on real time. Like for instance every hour on the dot have this bot's script start up, he will go through his motions, the script will return him to his starting point and lay dormant until the next hour comes where it starts again. Is this possible? I'm also wondering if anyone can provide a little more insight onto how to smooth the motion of a non-physical object. I can set it so the bot moves in smaller paces, but it still seems a bit awkward. Keep in mind I'm very new to scripting, but am getting the basic concepts. Any advice would be greatly appreciated! We've covered this a few times (no pun intended) recently. Basically you need to work out how long until the next hr and set a timer. Then when the timer fires perform your actions and set a new timer for an hrs time. here are a couple of previosu threads that touched on the subject Is this the best way to trigger a daily event?Lag-Free Midnight Timer Script
|