OSSL Implemented
From OpenSimulator
(Difference between revisions)
Line 5: | Line 5: | ||
! style="background-color:#D2ECD2;" | Threat Level | ! style="background-color:#D2ECD2;" | Threat Level | ||
|- | |- | ||
− | | string osSetDynamicTextureURL(string dynamicID, string contentType, string url, string extraParams,int refreshTimer); | + | | string osSetDynamicTextureURL(string dynamicID, string contentType, string url, string extraParams, int refreshTimer); |
| Loads a web texture on a prim. Should work for any image URL (including php scripts) that Opensim can render. [Note refreshTimer may not yet be implemented, use a timer event and recall the function to get the same effect] | | Loads a web texture on a prim. Should work for any image URL (including php scripts) that Opensim can render. [Note refreshTimer may not yet be implemented, use a timer event and recall the function to get the same effect] | ||
| [[osSetDynamicTextureURL_example1|example 1]] | | [[osSetDynamicTextureURL_example1|example 1]] | ||
− | | | + | | VeryLow |
|- | |- | ||
|- | |- | ||
Line 14: | Line 14: | ||
| Writes text and vector graphics onto a prim face. Exemplified in two standard library scripts. | | Writes text and vector graphics onto a prim face. Exemplified in two standard library scripts. | ||
| | | | ||
− | | | + | | VeryLow |
|- | |- | ||
|- | |- | ||
Line 20: | Line 20: | ||
| Gets height of terrain | | Gets height of terrain | ||
| | | | ||
− | | | + | | None |
|- | |- | ||
|- | |- | ||
Line 26: | Line 26: | ||
| Sets height of terrain | | Sets height of terrain | ||
| | | | ||
− | | | + | | High |
|- | |- | ||
|- | |- | ||
Line 32: | Line 32: | ||
| Restarts the region | | Restarts the region | ||
| | | | ||
− | | | + | | High |
|- | |- | ||
|- | |- | ||
Line 38: | Line 38: | ||
| Sends a notice to the region | | Sends a notice to the region | ||
| | | | ||
− | | | + | | VeryHigh |
|- | |- | ||
|- | |- | ||
Line 44: | Line 44: | ||
| returns a hashtable containing the structured JSON contents (c# only) | | returns a hashtable containing the structured JSON contents (c# only) | ||
| [[osParseJSON_example1|example 1]] | | [[osParseJSON_example1|example 1]] | ||
− | | | + | | None |
|- | |- | ||
|- | |- | ||
Line 50: | Line 50: | ||
| sends a string to the object identified by objectId, the receiving object requires to implement the method dataserver( key queryid, string data ) in a contained script(s). The queryid passed will be the id of the calling object. | | sends a string to the object identified by objectId, the receiving object requires to implement the method dataserver( key queryid, string data ) in a contained script(s). The queryid passed will be the id of the calling object. | ||
| | | | ||
− | | | + | | Low |
|- | |- | ||
|- | |- | ||
Line 56: | Line 56: | ||
| Teleports agent ''agentId'' to region ''regionName'', region-local position ''position'', with looking direction ''lookAt'' without asking the user first (in contrast to ''llMapDestination'') | | Teleports agent ''agentId'' to region ''regionName'', region-local position ''position'', with looking direction ''lookAt'' without asking the user first (in contrast to ''llMapDestination'') | ||
| | | | ||
− | | | + | | High |
|- | |- | ||
|- | |- | ||
Line 62: | Line 62: | ||
| Teleports agent ''agentId'' to position ''position'' in the same region, with looking direction ''lookAt'' without asking the user first (in contrast to ''llMapDestination'') | | Teleports agent ''agentId'' to position ''position'' in the same region, with looking direction ''lookAt'' without asking the user first (in contrast to ''llMapDestination'') | ||
| | | | ||
− | | | + | | High |
|- | |- | ||
|- | |- | ||
Line 68: | Line 68: | ||
| Issues command as if from the server console. "Severe" threat level. Eg.: osConsoleCommand("link-region X Y URL port"). | | Issues command as if from the server console. "Severe" threat level. Eg.: osConsoleCommand("link-region X Y URL port"). | ||
| | | | ||
− | | | + | | Severe |
|- | |- | ||
|- | |- | ||
Line 74: | Line 74: | ||
| Writes a new notecard into the containing prim's inventory. The list parameter may contain only strings. Eg.: osMakeNotecard("new card", ["line-1", "line-2", "line-3"]). | | Writes a new notecard into the containing prim's inventory. The list parameter may contain only strings. Eg.: osMakeNotecard("new card", ["line-1", "line-2", "line-3"]). | ||
| | | | ||
− | | | + | | High |
|- | |- | ||
|- | |- | ||
[[Category:Users]] | [[Category:Users]] | ||
[[Category:Development]] | [[Category:Development]] |
Revision as of 07:53, 23 January 2009
Function | Explanation | Examples | Threat Level |
---|---|---|---|
string osSetDynamicTextureURL(string dynamicID, string contentType, string url, string extraParams, int refreshTimer); | Loads a web texture on a prim. Should work for any image URL (including php scripts) that Opensim can render. [Note refreshTimer may not yet be implemented, use a timer event and recall the function to get the same effect] | example 1 | VeryLow |
osSetDynamicTextureData("", "vector", drawList, "1024", 0); | Writes text and vector graphics onto a prim face. Exemplified in two standard library scripts. | VeryLow | |
double osTerrainGetHeight(int x, int y); | Gets height of terrain | None | |
int osTerrainSetHeight(int x, int y); | Sets height of terrain | High | |
int osRegionRestart(double seconds); | Restarts the region | High | |
void osRegionNotice(string msg); | Sends a notice to the region | VeryHigh | |
System.Collections.Hashtable osParseJSON(string JSON); | returns a hashtable containing the structured JSON contents (c# only) | example 1 | None |
osMessageObject(key objectId, string message); | sends a string to the object identified by objectId, the receiving object requires to implement the method dataserver( key queryid, string data ) in a contained script(s). The queryid passed will be the id of the calling object. | Low | |
osTeleportAgent(key agentId, string regionName, vector position, vector lookAt); | Teleports agent agentId to region regionName, region-local position position, with looking direction lookAt without asking the user first (in contrast to llMapDestination) | High | |
osTeleportAgent(key agentId, vector position, vector lookAt); | Teleports agent agentId to position position in the same region, with looking direction lookAt without asking the user first (in contrast to llMapDestination) | High | |
osConsoleCommand(string command); | Issues command as if from the server console. "Severe" threat level. Eg.: osConsoleCommand("link-region X Y URL port"). | Severe | |
osMakeNotecard(string cardname, list cardlines); | Writes a new notecard into the containing prim's inventory. The list parameter may contain only strings. Eg.: osMakeNotecard("new card", ["line-1", "line-2", "line-3"]). | High |