Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

permissions

Ozzie Rokocoko
Registered User
Join date: 14 Sep 2007
Posts: 1
09-15-2007 09:09
i've tried searching the forums but cant find what i need.

I am looking to let other test drive a car i am making, how do i allow others to drive the cars without giving ownership to them?
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
09-15-2007 09:15
From: Ozzie Rokocoko
i've tried searching the forums but cant find what i need.

I am looking to let other test drive a car i am making, how do i allow others to drive the cars without giving ownership to them?
Somewhere in the vehicle script it's checking whether the person trying to drive is also the owner, and if not, probably llUnSit(). It's probably in a changed() CHANGED_LINK event handler, for when the person sits. One could just change that to test "if (TRUE)..." (I've never understood the appeal of vehicles in the first place, so I wouldn't much mind if somebody drove off with the dealer's Maserati), or somehow conditionalize the test on whether it's a "dealer car"... or check if it's on the dealer's land... or something like that.