The Scripts β
The 1Click Maker folder contains three main scripts and a set of add-ons. You only ever drag them into an object's Content tab; you never edit them.
Main scripts β
*BUILD development only β
The bridge between your HUD and the creation panel.
- Prints the project link in chat when dropped into a new object.
- Receives everything you Build from the panel.
- Answers the panel's scans (buttons, assets, targets).
- Opens the NEW / CLONE / EDIT menu when you hold your click on the object.
- Removes itself when you press Finish.
It only works while the object is rezzed on the ground.
*FUNCTIONS always required β
The engine. It stores the built project and runs every action when a button is clicked or an event fires. It stays inside the finished product forever. Without it, nothing happens.
*TARGETS one per controlled object β
Goes inside every object you want to control from a HUD (clothing, furniture, accessories). It listens to the HUD on a private channel and applies the commands: textures, colors, rotation, and so on. Details in Targets.
Add-ons β
Add-ons unlock specific features. Drop each one into the object that will run the feature: usually the HUD, but for some actions the target itself.
| Add-on script | Needed for | Where to drop it |
|---|---|---|
[add-on] - Events - 1Click | Any event (attach, walk, run, water, receive commandβ¦) | The object whose events you registered (HUD or item) |
[add-on] - PBR Manager | PBR Custom, Material PBR, PBR On/Off, PBR Alpha Mode | Every target that receives PBR actions (and the HUD, if it targets itself) |
[add-on] - Timers | The Timer action | The object running the function that contains the timer |
[add-on] - Resizer - 1Click | The Resizer action | The object being resized: the target, or the HUD itself |
[add-on] - Conditions & Variables - 1Click | Condition and Change Variable actions | The object running the logic (usually the HUD) |
[add-on] - UI Buttons - 1Click | UI Mode buttons | The HUD |
[add-on] - Color Picker - 1Click | The Color Picker object | Inside the Color Picker object (it ships with it) |
[add-on] - Give Items - 1Click | The Give Items action | The HUD (the object holding the items) |
Missing add-on
If a project uses a feature and its add-on is not inside the object, *FUNCTIONS prints a warning like ATTENTION: This project needs the '[add-on] - Events - 1Click' script in the CONTENT tab of this object. Drop the script in and press Build once more so everything starts in the right order.
Why add-ons instead of one big script?
Second Life scripts have a hard 64 KB memory limit. The core scripts already use most of it. Splitting rarely-used features into add-ons keeps the main scripts stable and your HUD light: you only pay for what you use.
Where each script goes: a cheat sheet β
HUD (rezzed on the ground)
βββ *BUILD β removed by Finish
βββ *FUNCTIONS
βββ [add-on] - Events β if the HUD has events
βββ [add-on] - Timers β if any function uses Timer
βββ [add-on] - Conditions & Variables
βββ [add-on] - UI Buttons β if you use UI Mode
βββ [add-on] - Give Items β if you deliver items
βββ [add-on] - PBR Manager β only if the HUD applies PBR to itself
βββ textures / sounds / anims β assets, removed by Finish
Shirt (a target)
βββ *TARGETS
βββ [add-on] - PBR Manager β if the shirt receives PBR actions
βββ [add-on] - Resizer β if the shirt is resized
βββ [add-on] - Events β if the shirt has its own events (needs its own project)
βββ animations β if the shirt runs animations (needs its own project)Updating scripts β
New versions of 1Click Maker are delivered as a redelivery on the Marketplace. To update an existing product:
- Rez the object on the ground.
- Delete the old scripts from Content and drop in the new ones.
- If the object had been finished,
*BUILDopens its menu: choose EDIT to reconnect it to the saved project. - Build again.
Release notes always say when a script update is required. See the Changelog.