llGetStartString

From Second Life Wiki
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();