Difference between revisions of "LlGetRegionName"
Jump to navigation
Jump to search
(EX) |
(I didn't like my previous example) |
||
Line 10: | Line 10: | ||
|constants | |constants | ||
|examples=<pre> | |examples=<pre> | ||
// | // The beginnings of a region-info script. | ||
default | default | ||
{ | { | ||
Line 20: | Line 20: | ||
timer() | timer() | ||
{ | { | ||
string msg; | |||
msg = "REGION NAME : " + llGetRegionName(); | |||
llSetText(msg, <0,1,0>, 1.0); | |||
} | } | ||
} | } |
Revision as of 15:26, 17 May 2007
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
// 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); } }
See Also
Functions
• | llGetSimulatorHostname |