|
Nilp Morris
Registered User
Join date: 7 Jan 2006
Posts: 13
|
11-24-2006 02:50
Hi Basically what i want to make is a scripted parking garage, when you put a car/spaceship/whatever in it should detect it (llSensor i think) and when pressing a button take the parked object into the parking garage's inventory and spawn it again over a menu or something (i'm not that far with developing my idea at this time)
|
|
Squirrel Wood
Nuteater. Beware!
Join date: 14 Jun 2006
Posts: 471
|
11-24-2006 04:19
Technically not possible I think.
|
|
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
|
11-24-2006 04:40
From: Nilp Morris Hi Basically what i want to make is a scripted parking garage, when you put a car/spaceship/whatever in it should detect it (llSensor i think) and when pressing a button take the parked object into the parking garage's inventory and spawn it again over a menu or something (i'm not that far with developing my idea at this time) Squirrel is correct, it cannot be done at least not as far as I am aware. You can give inventory but not take. Items can be dropped on to an enabled prim and taken into inventory but thats not what you are talking about. Depending upon exactly what you are trying to produce you may be able to simulate the process if the garage held all the orginal objects and just rezzed on demand. 'parking' would just be a case of killing the object A menu based on inventory contents has been previously discussed in numerous threads.
|
|
Raeyan Aldrich
Registered User
Join date: 14 Oct 2006
Posts: 44
|
11-24-2006 17:28
or optionally you could allow the garage to send a command on a channel using llSay, the vehicle would have to be scripted to hear the command and respond. it would then give the garage a copy of itself which the garage could then later rez.
|
|
Winter Ventura
Eclectic Randomness
Join date: 18 Jul 2006
Posts: 2,579
|
11-24-2006 17:37
Or.. you could add a "llDie" to the car, on hearing a "derez" command from the button.. and could have a rezzer object inside the garage rez a fresh car when you pushed the rez button.
Assuming of course, that you have, or can get, permissions to do this on the car you want to use.
Additionally, you could load several different cars into the rezzer, and "choose your ride" by pushing the proper button.
_____________________
 ● Inworld Store: http://slurl.eclectic-randomness.com ● Website: http://www.eclectic-randomness.com ● Twitter: @WinterVentura
|
|
Raeyan Aldrich
Registered User
Join date: 14 Oct 2006
Posts: 44
|
11-25-2006 00:33
yes but i was suggesting this concept in the event he/she wants to sell a garage object seperate from several car models compatible with it... this way there would be no "hack" to gain access to every vehicle made by him/her through the garage 
|
|
Feynt Mistral
Registered User
Join date: 24 Sep 2005
Posts: 551
|
11-25-2006 00:47
Yeah, the "give a clone of yourself to the garage and it'll spawn you later" approach would seem to work best. The car would have a copy of itself (sans the extra copy within that, etc.) in its inventory. When it gets the park notice, it forks its copy over to the garage manager and dies. Then later you hit up the garage to "rez my ride" and it'll do so, giving the car a copy of itself again. An optional choice would be to have the car collapse into a single prim's space which can later replace all the prims for the car around it, kind of like a Jetsons suitcase hover car dealy. The car gets the park command, suspends all scripts except the unpark one, grabs all its parts up into one place and shrinks them all down as small as possible, then hides itself inside the garage object. When you want it back, tell the garage and it'll send the unpark command. The car moves back out of the garage object, resizes the car's parts back to normal, and repositions them all relative to that "package" prim. On second thought, this wouldn't be nearly as elegant as the first option. It might work if most of your car is temp on rez (I recall there being a temp on rez motorcycle once that was basically a seat that rezzed new parts every 30 seconds or so and then killed off the old parts while you rode around on it). However you're still leaving prims behind, and they do add up... Ah well, I just like tossing around wacky ideas. > 
|
|
Winter Ventura
Eclectic Randomness
Join date: 18 Jul 2006
Posts: 2,579
|
11-25-2006 00:50
you'd just leave the rezzer moddable.
add the cars you buy, to the rezzer contents, and the script takes it from there. Cars could have a preinstalled llDie command, ready to be derezzed by their garage.
_____________________
 ● Inworld Store: http://slurl.eclectic-randomness.com ● Website: http://www.eclectic-randomness.com ● Twitter: @WinterVentura
|