OSSL Implemented

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m
Line 3: Line 3:
 
! style="background-color:#D2ECD2;" | Explanation
 
! style="background-color:#D2ECD2;" | Explanation
 
! style="background-color:#D2ECD2;" | Examples
 
! style="background-color:#D2ECD2;" | Examples
 +
! style="background-color:#D2ECD2;" | Threat Level
 
|-
 
|-
 
| string osSetDynamicTextureURL(string dynamicID, string contentType, string url, string extraParams,int timer);
 
| string osSetDynamicTextureURL(string dynamicID, string contentType, string url, string extraParams,int timer);
 
| Loads a webtexture on a prim
 
| Loads a webtexture on a prim
 
| [[osSetDynamicTextureURL_example1|example 1]]
 
| [[osSetDynamicTextureURL_example1|example 1]]
 +
| TBD
 
|-
 
|-
 
|-
 
|-
Line 12: Line 14:
 
| Gets height of terrain
 
| Gets height of terrain
 
|
 
|
 +
| TBD
 
|-
 
|-
 
|-
 
|-
Line 17: Line 20:
 
| Sets height of terrain
 
| Sets height of terrain
 
|
 
|
 +
| TBD
 
|-
 
|-
 
|-
 
|-
Line 22: Line 26:
 
| Restarts the region
 
| Restarts the region
 
|
 
|
 +
| TBD
 
|-
 
|-
 
|-
 
|-
 
| void osRegionNotice(string msg);
 
| void osRegionNotice(string msg);
 
| Sends a notice to the region
 
| Sends a notice to the region
 +
|
 +
| TBD
 
|-
 
|-
 
|-
 
|-
Line 31: Line 38:
 
| 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]]
 +
| TBD
 
|-
 
|-
 
|-
 
|-
Line 36: Line 44:
 
| 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.
 
|
 
|
 +
| TBD
 
|-
 
|-
 
|-
 
|-
 
| osTeleportAgent(key agentId, string regionName, vector position, vector lookAt);
 
| 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'')
 
| Teleports agent ''agentId'' to region ''regionName'', region-local position ''position'', with looking direction ''lookAt'' without asking the user first (in contrast to ''llMapDestination'')
 +
|
 +
| TBD
 
|-
 
|-
 
|-
 
|-
 
| osTeleportAgent(key agentId, vector position, vector lookAt);
 
| 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'')
 
| Teleports agent ''agentId'' to position ''position'' in the same region, with looking direction ''lookAt'' without asking the user first (in contrast to ''llMapDestination'')
 +
|
 +
| TBD
 
|-
 
|-
 
|-
 
|-
 
| osConsoleCommand(string command);
 
| osConsoleCommand(string command);
 
| 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").
 +
|
 +
| TBD
 
|-
 
|-
 
|-
 
|-
 
| osMakeNotecard(string cardname, list cardlines);
 
| 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"]).
 
| 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"]).
 +
|
 +
| TBD
 
|-
 
|-
 
|-
 
|-
 
| osSetDynamicTextureData("", "vector", drawList, "1024", 0);
 
| osSetDynamicTextureData("", "vector", drawList, "1024", 0);
| Writes text onto a prim face. Exemplified in two standard library scripts.
+
| Writes text onto a prim face. Exemplified in two standard library scripts.|
 +
| TBD
 
|-
 
|-
 
|-
 
|-
 
[[Category:Users]]
 
[[Category:Users]]
 
[[Category:Development]]
 
[[Category:Development]]

Revision as of 07:47, 23 January 2009

Function Explanation Examples Threat Level
string osSetDynamicTextureURL(string dynamicID, string contentType, string url, string extraParams,int timer); Loads a webtexture on a prim example 1 TBD
double osTerrainGetHeight(int x, int y); Gets height of terrain TBD
int osTerrainSetHeight(int x, int y); Sets height of terrain TBD
int osRegionRestart(double seconds); Restarts the region TBD
void osRegionNotice(string msg); Sends a notice to the region TBD
System.Collections.Hashtable osParseJSON(string JSON); returns a hashtable containing the structured JSON contents (c# only) example 1 TBD
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. TBD
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) TBD
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) TBD
osConsoleCommand(string command); Issues command as if from the server console. "Severe" threat level. Eg.: osConsoleCommand("link-region X Y URL port"). TBD
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"]). TBD
osSetDynamicTextureData("", "vector", drawList, "1024", 0); TBD
Personal tools
General
About This Wiki