OsGetGridName: Difference between revisions
From OpenSimulator
Jump to navigationJump to search
imported>Fritigern No edit summary |
imported>Kcozens m Added permissions and delay information |
||
| Line 1: | Line 1: | ||
{{osslfunc | {{osslfunc | ||
|threat_level=Moderate | |threat_level=Moderate | ||
|permissions=true | |||
|delay=0 | |||
|function_syntax=string osGetGridName() | |function_syntax=string osGetGridName() | ||
| | | | ||
Revision as of 02:56, 26 October 2017
string osGetGridName()
| |
| Returns the current grid's name as a string. | |
| Threat Level | Moderate |
| Permissions | Use of this function is always allowed by default |
| Extra Delay | 0 seconds |
| Example(s) | |
//
// Example of osGetGridName()
// returns the value of gridname = "Hippogrid" in OpenSim.ini under [GridInfo] section
//
default
{
state_entry()
{
llSay(0, "Grid Name = "+osGetGridName());
}
}
| |