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( );? | 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");
}
}