OsGetGridName

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m
m (Added permissions and delay information)
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{|  width="100%" style="border: thin solid black"
+
{{osslfunc
| colspan="2" align="center" style=background:orange | '''{{SUBPAGENAME}}'''
+
|threat_level=Moderate
|- valign="top"
+
|permissions=true
|'''Threat Level''' || Moderate
+
|delay=0
 
+
|function_syntax=string osGetGridName()
|- valign="top"
+
|
|'''Function Syntax''' || <source lang="lsl">
+
ossl_example =<source lang="lsl">
osGetGridName()
+
</source>
+
|- valign="top"
+
|'''Example(s)||<source lang="lsl">
+
 
  //
 
  //
 
  // Example of osGetGridName()
 
  // Example of osGetGridName()
Line 22: Line 18:
 
  }
 
  }
 
</source>
 
</source>
|}
+
|description=Returns the current grid's name as a string.
 
+
|
[[Category:OSSL Functions]]
+
}}

Revision as of 19:56, 25 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());
   }
 }
Personal tools
General
About This Wiki