llGetStartString
Revision as of 10:44, 2 May 2024 by Rider Linden (talk | contribs) (Created page with "{{LSL_Function |func_id=|func_sleep=0.0|func_energy=10.0 |sort=GetStartString |func=llGetStartString|return_type=string |func_footnote= *If the containing object was manually...")
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: string llGetStartString( );? | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns a string that was passed to the object on rez with llRezObjectWithParams.
- If the containing object was manually rezzed, by dragging from inventory, the start string is blank.
Caveats
Examples
default
{
on_rez(integer param)
{
llOwnerSay("rezzed with the number " + (string)param + " and a start string of \"" + llGetStartString() + "\"");
}
state_entry()
{
string s = llGetStartString();
llOwnerSay("I was given the string \"" + s + "\" when I was rezzed");
}
}