Difference between revisions of "LlGetRegionName"

From Second Life Wiki
Jump to navigation Jump to search
(EX)
Line 9: Line 9:
|caveats
|caveats
|constants
|constants
|examples
|examples=<pre>
// Put this script into a bracelet for a simple reminder.
default
{
    state_entry()
    {
        llSetTimerEvent(3.0);
    }
   
    timer()
    {
        if(llGetRegionName() == "The Wild")
        {
            llInstantMessage(llGetOwner(), "Entered Enemy Area!");
        }
    }
}
</pre>
|helpers
|helpers
|also_functions={{LSL DefineRow||[[llGetSimulatorHostname]]|}}
|also_functions={{LSL DefineRow||[[llGetSimulatorHostname]]|}}

Revision as of 15:21, 17 May 2007