llGetRegionName
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
// 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!"); } } }
See Also
Functions
• | llGetSimulatorHostname |