Difference between revisions of "LlGetRegionName"
Jump to navigation
Jump to search
(I didn't like my previous example) |
Void Singer (talk | contribs) m (formatted example) |
||
Line 9: | Line 9: | ||
|caveats | |caveats | ||
|constants | |constants | ||
|examples=< | |examples=<lsl> | ||
// The beginnings of a region-info script. | // The beginnings of a region-info script. | ||
default | default | ||
Line 27: | Line 27: | ||
} | } | ||
} | } | ||
</ | </lsl> | ||
|helpers | |helpers | ||
|also_functions={{LSL DefineRow||[[llGetSimulatorHostname]]|}} | |also_functions={{LSL DefineRow||[[llGetSimulatorHostname]]|}} |
Revision as of 16:52, 19 February 2008
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: string llGetRegionName( );226 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns a string that is the current region name
Caveats
Examples
<lsl> // The beginnings of a region-info script. default {
state_entry() { llSetTimerEvent(3.0); } timer() { string msg; msg = "REGION NAME : " + llGetRegionName(); llSetText(msg, <0,1,0>, 1.0); }
}
</lsl>See Also
Functions
• | llGetSimulatorHostname |