llGetStartString

From Second Life Wiki
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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Summary

Function: string llGetStartString( );

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.

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

Events

•  on_rez

Functions

•  llRezObjectWithParams
•  llGetStartParameter

Deep Notes

Search JIRA for related Issues

Signature

function string llGetStartString();