Definitions
Instructions
An instruction is a set of information defined by one line. It's split by a ; character, it allows the script to properly read the data. This kind of line will define how you creation will retexture. In the below example, this line will retexture the prim named button, with the texture cc72eb07-b8cb-be03-8635-1ad5d9afa5fd on the faces 1 and 2.
button;texture;1,2;4f089cf2-3e75-fa5f-d5f3-2d49fe92553dTexture set
A texture set is a block of code in the .config script. It contains at least one name and one or multiples instructions. In the below example, this texture set is called redSet and contains 1 instruction.
-redSet
button;texture;1,2;4f089cf2-3e75-fa5f-d5f3-2d49fe92553dAll instructions
HUD
// This line define the name of your creation between the script.
// Remain this name simple. Be sure it's the same between .config and .config HUD
@myObject
// Since the version 3.1.2 of the HUD, the HUD can't be rezzed by default. If you
// want your customer to be able to rez the HUD, you need to add this line
// to your .config HUD data
allow_rezObject
Last updated
Was this helpful?