LlGetRegionName - Second Life Wiki

LlGetRegionName

From Second Life Wiki

Jump to: navigation, search

Contents

Description

Function: string llGetRegionName( );
226 Function ID
0.0 Delay
10.0 Energy

Returns a string that is the current region name


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