Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Allowing Demo Ride on a Motorcyle.

Janey Sommer
Registered User
Join date: 30 Nov 2008
Posts: 3
04-01-2009 17:58
I've built several motorcycles, and plan to sell them. Since the bikes are owner specific, how can I change the script to allow anyone to take a demo ride? Maybe even a time limit ride? Help! :))
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
04-01-2009 20:22
remove or replace llGetOwner type calls on the demo model then place it in a touch rezzor with the appropriate permissions.


you can either add a temp on rez call to the onrez handler for this demo model, which means it'll self delete after 1 minute or the moment it's not being sat upon, whichever is longer. or you could add a timed llDie to it, but that will be disabled if they are in a no script zone, which could give them time to duplicate the structure of it if it's not sculpted.

if you use attachments to flesh out the bike, have the base vehicle give them no-copy to the seated av, and then have them check to see if they are in the presence of said bike base, and if not, somehow disable themselves, or making them unuseful (detach, mangle them with llSet*PimitiveParams, etc). this is slightly more dangerous as it relies on scripted behavior, which can be disabled on no-script land.
_____________________
|
| . "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...
| -