Demo Rezzer Scripts (boxed)
=== DemoRezzer (by Bulli Schumann) ===
== Instructions ==
The demo rezzer is used to rezz objects in-world, to demonstrate them so customers can decide to buy them. The demo objects will be placed inside the rezzer, and residents can push a button on the rezzer to rezz a certain item.
Clicking another button will make previously rezzed objects disappear and the new object will be shown.
The rezzer is built around 3 scripts:
1. DemoRezzer - Script to be put in the 'vendor'. This script is responsible for rezzing an object when a specific button is pressed.
2. ButtonScript - Script to be put in each of the buttons of the vendor. Each button will communicate it's own name to the DemoRezzer when it's pressed.
3. DemoScript - Script that is to be put in each separate object that is to be rezzed by the rezzer. This script will make sure the object will disappear when another object is being rezzed.
= Building the rezzer =
- Build a vendor, with one one or more buttons as linked prims.
- Give each button a unique name. This name should be the same as the object to be rezzed.
= Using the scripts =
- Put the 'ButtonScript' script in each of the buttons.
- Put the 'DemoRezzer' script in the root-prim of the vendor.
- Put the 'DemoScript' in each of the objects that will be put into the vendor
- Double check that the names of the buttons correspond to the name of an object in the vendor
- Put all the items to be rezzed/demo'd into the root-prim of the vendor (make sure you did put the DemoScript in each of the objects)
= Testing =
You're now ready to test your setup:
- Press the first button on your vendor and check that the corresponding object is being rezzed
- Press the second button on your vendor and check that the previous object disappears and the corresponding object is being rezzed
- Repeat pressing the buttons on your vendor to check all objects will rezz as expected.
= Changing the location where the demo objects will be rezzed =
You can change the location where the demo objects are rezzed, as long as this location is within 10 meters of the 'vendor'.
To change this location, follow these steps:
- Use one of the buttons to rezz one of the demo objects
- reposition the demo object to its intended destination (using the regular build/edit tools)
- click (touch) on the root-prim of the rezzer/vendor.
- you will receive a message that the location was recorded.
- verify the location by clicking another button and rezzing another object
== Example ==
The package contains an example rezzer (ExampleRezzer), created using the instructions above. If you have problems interpreting the instructions, please have a look at the ExampleRezzer and see if you can find an explanation in there. If not, have a look at the 'Support' section below.
== Support ==
If you have any questions, feel free to contact me (Bulli Schumann) and I'll do my best to offer support. Be aware though, that both my SL and FL can be quite busy, so it might take me some time to get back to you.
Regards,
Bulli Schumann
L$ 1,000
Use It Now
This item will be delivered directly to you or a friend in Second Life, unpacked and ready to use. No land or sandbox required.
- Copy
- Modify
- Transfer
- User Licensed