OsParcelJoin

From OpenSimulator

(Difference between revisions)
Jump to: navigation, search
m (some syntax modification (may be major or minor))
Line 2: Line 2:
 
|threat_level=High
 
|threat_level=High
 
|function_syntax=void osParcelJoin(vector pos1, vector pos2)
 
|function_syntax=void osParcelJoin(vector pos1, vector pos2)
|ossl_example=
+
|ossl_example=<source lang = "lsl">
 +
// ----------------------------------------------------------------
 +
// Example / Sample Script to show function use.
 +
//
 +
// Script Title:    osParcelJoin.lsl
 +
// Script Author:
 +
// Threat Level:    High
 +
// Script Source:  SUPPLEMENTAL http://opensimulator.org/wiki/osParcelJoin
 +
//
 +
// Notes: See Script Source reference for more detailed information
 +
// This sample is full opensource and available to use as you see fit and desire.
 +
// Threat Levels only apply to OSSL & AA Functions
 +
// See http://opensimulator.org/wiki/Threat_level
 +
// ================================================================
 +
// Inworld Script Line:    osParcelJoin(vector start, vector end);
 +
//
 +
// Example of osParcelJoin
 +
// This function allows for creating and managing parcels programmatically.
 +
// Joins( start.x,start.y _to_ end.x,end.y ) Z is ignored but must exist in syntax
 +
default
 +
{
 +
    state_entry()
 +
    {
 +
        llSay(0,"Touch to Join adjacent Parcels");
 +
    }
 +
    touch_start()
 +
    {
 +
        vector start = <0.0, 0.0, 0.0>; //top corner
 +
        vector end = <100.0, 100.0, 0.0>;
 +
        osParcelJoin(start, end);
 +
    }
 +
}
 +
</source>
 
|description=
 
|description=
 
|
 
|
 
}}
 
}}

Revision as of 11:20, 30 July 2011

void osParcelJoin(vector pos1, vector pos2)
No descriptions provided
Threat Level High
Permissions No permissions specified
Extra Delay No function delay specified
Example(s)
// ----------------------------------------------------------------
// Example / Sample Script to show function use.
//
// Script Title:    osParcelJoin.lsl
// Script Author:
// Threat Level:    High
// Script Source:   SUPPLEMENTAL http://opensimulator.org/wiki/osParcelJoin
//
// Notes: See Script Source reference for more detailed information
// This sample is full opensource and available to use as you see fit and desire.
// Threat Levels only apply to OSSL & AA Functions
// See http://opensimulator.org/wiki/Threat_level
// ================================================================
// Inworld Script Line:     osParcelJoin(vector start, vector end);
//
// Example of osParcelJoin
// This function allows for creating and managing parcels programmatically.
// Joins( start.x,start.y _to_ end.x,end.y ) Z is ignored but must exist in syntax
default
{
    state_entry()
    {
        llSay(0,"Touch to Join adjacent Parcels");
    }
    touch_start()
    {
        vector start = <0.0, 0.0, 0.0>; //top corner
        vector end = <100.0, 100.0, 0.0>;
        osParcelJoin(start, end);
    }
}
Personal tools
General
About This Wiki