llGetStartString
		
		
		
		Jump to navigation
		Jump to search
		
| LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials | 
Summary
Function: string llGetStartString( );| 0.0 | Forced Delay | 
| 10.0 | Energy | 
Returns a string that was passed to the object's root prim on rez with llRezObjectWithParams.
- If the containing object was manually rezzed, by dragging from inventory, the start string is blank.
- This function reads the start string of the object's root prim.
- Child prims of objects rezzed via llRezObjectWithParams() have an empty start string.
Caveats
- Start string survives script resets, region crosses and region restarts.
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");
    }
}
See Also
Deep Notes
| Signature | 
|---|
| function string llGetStartString(); | 
| Haiku | 
|---|
| Passed on rez, a string—
 |