|
|
(60 intermediate revisions by 14 users not shown) |
Line 1: |
Line 1: |
− | {| border=1 style="border-collapse:collapse;th background-color:#666;width:100%;text-align:center;"
| + | #Redirect [[:Category:OSSL Functions]] |
− | ! style="background-color:#D2ECD2;" | Function
| + | |
− | ! style="background-color:#D2ECD2;" | Explanation
| + | |
− | ! style="background-color:#D2ECD2;" | Examples
| + | |
− | |-
| + | |
− | | string osSetDynamicTextureURL(string dynamicID, string contentType, string url, string extraParams,int timer);
| + | |
− | | Loads a webtexture on a prim
| + | |
− | | [[osSetDynamicTextureURL_example1|example 1]]
| + | |
− | |-
| + | |
− | |-
| + | |
− | | double osTerrainGetHeight(int x, int y);
| + | |
− | | Gets height of terrain
| + | |
− | |
| + | |
− | |-
| + | |
− | |-
| + | |
− | | int osTerrainSetHeight(int x, int y);
| + | |
− | | Sets height of terrain
| + | |
− | |
| + | |
− | |-
| + | |
− | |-
| + | |
− | | int osRegionRestart(double seconds);
| + | |
− | | Restarts the region
| + | |
− | |
| + | |
− | |-
| + | |
− | |-
| + | |
− | | void osRegionNotice(string msg);
| + | |
− | | Sends a notice to the region
| + | |
− | |-
| + | |
− | |-
| + | |
− | | System.Collections.Hashtable osParseJSON(string JSON);
| + | |
− | | returns a hashtable containing the structured JSON contents (c# only)
| + | |
− | | [[osParseJSON_example1|example 1]]
| + | |
− | |-
| + | |
− | |-
| + | |
− | | 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.
| + | |
− | |
| + | |
− | |-
| + | |
− | |-
| + | |
− | | 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'')
| + | |
− | |-
| + | |
− | |-
| + | |
− | | 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'')
| + | |
− | |-
| + | |
− | |-
| + | |
− | [[Category:Users]]
| + | |
− | [[Category:Development]]
| + | |