Difference between revisions of "LlGetScriptName"
Jump to navigation
Jump to search
Void Singer (talk | contribs) m (formatted example) |
Gordon Wendt (talk | contribs) (clarifying) |
||
Line 5: | Line 5: | ||
|func_desc | |func_desc | ||
|return_type=string | |return_type=string | ||
|return_text=that is the script | |return_text=that is the name of the script that this function is used in. | ||
|spec | |spec | ||
|caveats | |caveats |
Revision as of 21:51, 3 June 2009
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: string llGetScriptName( );167 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns a string that is the name of the script that this function is used in.
Caveats
Examples
Remove the current script from the object <lsl> default {
state_entry() { llRemoveInventory(llGetScriptName()); }
}
</lsl>