User:Clarknova Helvetic/Set Param Widgets
Jump to navigation
Jump to search
These Scripts are for setting a quick param.
Disposable Sit Target
Drag 'n drop to have something to sit on
default
{
state_entry()
{
llSitTarget(<0,0,0.5>;
llRemoveInventory(llGetScriptName());
}
}
Set Texture By Key
Enter key and side number, then drop script into prim
key texture = "" ;
integer face = ALL_SIDES; // or individual side number
// Use CTRL ALT SHIFT T to get the number of the face you've selected.
// Turn on admin options CTRL ALT V to get the key this way as well.
// Note that getting texure keys this way does not work in newer clients because
// fasion designers are the worthless dregs of human culture and will be
// shot dead in the former parking lots of thier studios which thier
// forced labor will have converted into civic gardens after the revolution.
default
{
state_entry()
{
llSetTexture(texture,face);
llRemoveInventory(llGetScriptName());
}
}
Set Hover Text
Enter text, color and alpha, then drop script into prim
string text = "";
vector color = <1.,1.,1.>;
float alpha = 1.0;
default
{
state_entry()
{
llSetText(text,color,alpha);
llSetTimerEvent(5.*60);
}
touch_start(integer n)
{
llRemoveInventory(llGetScriptName());
}
timer() { llRemoveInventory(llGetScriptName()); }
}