From d1f8d009125fd838eb24b35856bf611409911e1b Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Thu, 1 May 2025 19:30:52 +0100 Subject: [PATCH] update scripts syntax file --- bin/ScriptSyntax.xml | 201 +++++++++++++++++++++---------------------- 1 file changed, 96 insertions(+), 105 deletions(-) diff --git a/bin/ScriptSyntax.xml b/bin/ScriptSyntax.xml index 2683ff40b6..66fb806840 100644 --- a/bin/ScriptSyntax.xml +++ b/bin/ScriptSyntax.xml @@ -1,4 +1,4 @@ -98972fa2-4c3f-8c44-f022-ed65eb6f1a6d +3c5411df-387f-39c3-345f-4e1b7c7e7c45 llsd-lsl-syntax-version2 controls @@ -7215,6 +7215,15 @@ tooltipReturns the angle between two vectors. osApproxEquals + + returninteger + arguments + vatypevector + vbtypevector + + tooltipReturns an integer whether two vectors are within floating point precision equal. + + osApproxEquals returninteger arguments @@ -7225,34 +7234,6 @@ tooltipReturns an integer whether two rotations are within a given margin equal. osApproxEquals - - returninteger - arguments - atypefloat - btypefloat - - tooltipReturns an integer whether two float values are within floating point precision equal. - - osApproxEquals - - returninteger - arguments - vatypevector - vbtypevector - margintypefloat - - tooltipReturns an integer whether two vectors are within a given margin equal. - - osApproxEquals - - returninteger - arguments - vatypevector - vbtypevector - - tooltipReturns an integer whether two vectors are within floating point precision equal. - - osApproxEquals returninteger arguments @@ -7262,6 +7243,15 @@ tooltipReturns an integer whether two rotations are within floating point precision equal. osApproxEquals + + returninteger + arguments + atypefloat + btypefloat + + tooltipReturns an integer whether two float values are within floating point precision equal. + + osApproxEquals returninteger arguments @@ -7271,6 +7261,16 @@ tooltipReturns an integer whether two float values are within a given margin equal. + osApproxEquals + + returninteger + arguments + vatypevector + vbtypevector + margintypefloat + + tooltipReturns an integer whether two vectors are within a given margin equal. + osAvatarName2Key returnstring @@ -7300,18 +7300,18 @@ returninteger arguments - avkeytypekey + sFirstNametypestring + sLastNametypestring - tooltipReturns the type of a given avatar (key). + tooltipReturns the type of a given avatar (name). osAvatarType returninteger arguments - sFirstNametypestring - sLastNametypestring + avkeytypekey - tooltipReturns the type of a given avatar (name). + tooltipReturns the type of a given avatar (key). osCauseDamage @@ -7520,6 +7520,14 @@ arguments tooltipAttempts to drop the attachment the script is in to the ground. + osDropAttachmentAt + + arguments + postypevector + rottyperotation + + tooltipAttempts to drop the attachment the script is in to a given position on the ground. + osEjectFromGroup returninteger @@ -7590,14 +7598,6 @@ tooltipAttempts to drop the attachment the script is in to a given position on the ground bypassing script permissions. - osForceDropAttachmentAt - - arguments - postypevector - rottyperotation - - tooltipAttempts to drop the attachment the script is in to a given position on the ground bypassing script permissions. - osForceOtherSit arguments @@ -8347,7 +8347,7 @@ arguments notecardNametypestring - contentstypestring + contentstypelist tooltipCreates a new notecard in the primitive inventory with given contents. @@ -8355,7 +8355,7 @@ arguments notecardNametypestring - contentstypelist + contentstypestring tooltipCreates a new notecard in the primitive inventory with given contents. @@ -8536,18 +8536,18 @@ arguments npctypekey - channeltypeinteger messagetypestring - tooltipInstructs a given NPC (key) to say a given message on a given channel. + tooltipInstructs a given NPC (key) to say a given message. osNpcSay arguments npctypekey + channeltypeinteger messagetypestring - tooltipInstructs a given NPC (key) to say a given message. + tooltipInstructs a given NPC (key) to say a given message on a given channel. osNpcSayTo @@ -8755,17 +8755,17 @@ returninteger arguments secondstypefloat + msgtypestring - tooltipSchedule a region restart seconds in the future. + tooltipSchedule a region restart with broadcast message seconds in the future. osRegionRestart returninteger arguments secondstypefloat - msgtypestring - tooltipSchedule a region restart with broadcast message seconds in the future. + tooltipSchedule a region restart seconds in the future. osRemoveLinkInventory @@ -8861,15 +8861,6 @@ tooltipRounds a given value to a specified amount of digits. - osSendAlertModal - - arguments - agentKeytypestring - alerttypestring - typetypeinteger - - tooltipSends a blocking modal or notification modal with a given message to a given avatar. - osSetContentType arguments @@ -9060,16 +9051,6 @@ tooltipSets the start, end or both caps to either "diamond", "arrow", "round", or default "flat" shape. osSetPenColor - - returnstring - arguments - drawListtypestring - colortypevector - alphatypefloat - - tooltipThis sets the drawing color to either a named .NET color, a 32-bit color value (formatted as eight hexadecimal digits in the format aarrggbb, representing the eight-bit alpha, red, green and blue channels) or a LSL vector color and alpha float value. - - osSetPenColor returnstring arguments @@ -9087,6 +9068,16 @@ tooltipThis sets the drawing color to either a named .NET color, a 32-bit color value (formatted as eight hexadecimal digits in the format aarrggbb, representing the eight-bit alpha, red, green and blue channels) or a LSL vector color and alpha float value. + osSetPenColor + + returnstring + arguments + drawListtypestring + colortypevector + alphatypefloat + + tooltipThis sets the drawing color to either a named .NET color, a 32-bit color value (formatted as eight hexadecimal digits in the format aarrggbb, representing the eight-bit alpha, red, green and blue channels) or a LSL vector color and alpha float value. + osSetPenColour returnstring @@ -9121,17 +9112,6 @@ tooltipSets primitive params of a given primitive (object UUID). osSetProjectionParams - - arguments - projectiontypeinteger - texturetypekey - fovtypefloat - focustypefloat - ambtypefloat - - tooltipSets the light projection parameters of the object containing the script. - - osSetProjectionParams arguments primtypekey @@ -9155,6 +9135,17 @@ tooltipSets the light projection parameters of a given link. + osSetProjectionParams + + arguments + projectiontypeinteger + texturetypekey + fovtypefloat + focustypefloat + ambtypefloat + + tooltipSets the light projection parameters of the object containing the script. + osSetRegionSunSettings arguments @@ -9296,9 +9287,11 @@ arguments srctypestring valuetypestring + starttypeinteger + counttypeinteger ignorecasetypeinteger - tooltipReturns the index of a substring of a given string. + tooltipReturns the index of a substring of given string starting from an index and match count. osStringIndexOf @@ -9306,11 +9299,9 @@ arguments srctypestring valuetypestring - starttypeinteger - counttypeinteger ignorecasetypeinteger - tooltipReturns the index of a substring of given string starting from an index and match count. + tooltipReturns the index of a substring of a given string. osStringLastIndexOf @@ -9370,9 +9361,8 @@ arguments srctypestring starttypeinteger - lengthtypeinteger - tooltipReturns a substring from start index and length. + tooltipReturns the remainder of a string from start index. osStringSubString @@ -9380,8 +9370,9 @@ arguments srctypestring starttypeinteger + lengthtypeinteger - tooltipReturns the remainder of a string from start index. + tooltipReturns a substring from start index and length. osSunGetParam @@ -9400,6 +9391,16 @@ tooltipDEPRECATED. Use osSetSunParam instead. osTeleportAgent + + arguments + agenttypestring + regionNametypestring + positiontypevector + lookattypevector + + tooltipTeleport a given avatar (key) to a given region by name and local position and rotatation as look at vector. + + osTeleportAgent arguments agenttypestring @@ -9419,16 +9420,6 @@ tooltipTeleport a given avatar (key) to a given position and rotation as look at vector. - osTeleportAgent - - arguments - agenttypestring - regionNametypestring - positiontypevector - lookattypevector - - tooltipTeleport a given avatar (key) to a given region by name and local position and rotatation as look at vector. - osTeleportObject returninteger @@ -9441,6 +9432,14 @@ tooltipTeleport a given primitive (object UUID) to a given position and rotation. osTeleportOwner + + arguments + positiontypevector + lookattypevector + + tooltipTeleport the object owner to a given position and rotation as look at vector. + + osTeleportOwner arguments regionXtypeinteger @@ -9451,14 +9450,6 @@ tooltipTeleport the object owner to a given region by grid position and local position and rotation as look at vector. osTeleportOwner - - arguments - positiontypevector - lookattypevector - - tooltipTeleport the object owner to a given position and rotation as look at vector. - - osTeleportOwner arguments regionNametypestring