diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs index 49f46b7b4c..8b70128e71 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs @@ -35,7 +35,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase public partial class ScriptBaseClass { // SCRIPTS CONSTANTS - public static readonly LSLInteger OS_APIVERSION = 2; + public static readonly LSLInteger OS_APIVERSION = 3; public static readonly LSLInteger TRUE = 1; public static readonly LSLInteger FALSE = 0; diff --git a/bin/ScriptSyntax.xml b/bin/ScriptSyntax.xml index 862a66df93..8f2f6002f9 100644 --- a/bin/ScriptSyntax.xml +++ b/bin/ScriptSyntax.xml @@ -1,4 +1,4 @@ -a0b4b514-3c14-6b98-ca98-e18a79e9792f +20392e48-fad2-094e-bc5b-cda003a1e940 llsd-lsl-syntax-version2 controls @@ -1513,7 +1513,7 @@ a0b4b514-3c14-6b98-ca98-e18a79e9792f OS_APIVERSION typeinteger - value2 + value3 OS_ATTACH_MSG_ALL typeinteger @@ -6114,17 +6114,8 @@ a0b4b514-3c14-6b98-ca98-e18a79e9792f returninteger arguments - vatypevector - vbtypevector - margintypefloat - - - osApproxEquals - - returninteger - arguments - vatypevector - vbtypevector + atypefloat + btypefloat osApproxEquals @@ -6140,8 +6131,17 @@ a0b4b514-3c14-6b98-ca98-e18a79e9792f returninteger arguments - atypefloat - btypefloat + ratyperotation + rbtyperotation + + + osApproxEquals + + returninteger + arguments + vatypevector + vbtypevector + margintypefloat osApproxEquals @@ -6157,8 +6157,8 @@ a0b4b514-3c14-6b98-ca98-e18a79e9792f returninteger arguments - ratyperotation - rbtyperotation + vatypevector + vbtypevector osAvatarName2Key @@ -6186,14 +6186,14 @@ a0b4b514-3c14-6b98-ca98-e18a79e9792f osCauseDamage arguments - avatartypestring + avatartypekey damagetypefloat osCauseHealing arguments - avatartypestring + agentIdtypekey healingtypefloat @@ -6284,8 +6284,6 @@ a0b4b514-3c14-6b98-ca98-e18a79e9792f returnstring arguments drawListtypestring - startXtypeinteger - startYtypeinteger endXtypeinteger endYtypeinteger @@ -6295,6 +6293,8 @@ a0b4b514-3c14-6b98-ca98-e18a79e9792f returnstring arguments drawListtypestring + startXtypeinteger + startYtypeinteger endXtypeinteger endYtypeinteger @@ -6539,14 +6539,14 @@ a0b4b514-3c14-6b98-ca98-e18a79e9792f returnfloat arguments - avatartypestring + agentIdtypekey osGetHealth returnfloat arguments - avatartypestring + agentIdtypekey osGetInertiaData @@ -6558,9 +6558,28 @@ a0b4b514-3c14-6b98-ca98-e18a79e9792f returnstring arguments - itemtypestring + itemNameOrIdtypestring + osGetInventoryLastOwner + + returnkey + arguments + itemNameOrIdtypestring + + + osGetInventoryName + + returnstring + arguments + itemIdtypekey + + + osGetLastChangedEventKey + + returnkey + arguments + osGetLinkNumber returninteger @@ -6735,6 +6754,13 @@ a0b4b514-3c14-6b98-ca98-e18a79e9792f alerttypestring + osKickAvatar + + arguments + agentIdtypekey + alerttypestring + + osLoadedCreationDate returnstring @@ -6839,7 +6865,6 @@ a0b4b514-3c14-6b98-ca98-e18a79e9792f nametypestring positiontypevector notecardtypestring - optionstypeinteger osNpcCreate @@ -6850,6 +6875,7 @@ a0b4b514-3c14-6b98-ca98-e18a79e9792f nametypestring positiontypevector notecardtypestring + optionstypeinteger osNpcGetOwner @@ -7089,7 +7115,6 @@ a0b4b514-3c14-6b98-ca98-e18a79e9792f returninteger arguments secondstypefloat - msgtypestring osRegionRestart @@ -7097,6 +7122,7 @@ a0b4b514-3c14-6b98-ca98-e18a79e9792f returninteger arguments secondstypefloat + msgtypestring osReplaceString @@ -7199,14 +7225,14 @@ a0b4b514-3c14-6b98-ca98-e18a79e9792f osSetHealRate arguments - avatartypestring + agentIdtypekey healthtypefloat osSetHealth arguments - avatartypestring + agentIdtypekey healthtypefloat @@ -7432,6 +7458,8 @@ a0b4b514-3c14-6b98-ca98-e18a79e9792f arguments srctypestring valuetypestring + starttypeinteger + counttypeinteger ignorecasetypeinteger @@ -7441,8 +7469,6 @@ a0b4b514-3c14-6b98-ca98-e18a79e9792f arguments srctypestring valuetypestring - starttypeinteger - counttypeinteger ignorecasetypeinteger @@ -7525,15 +7551,6 @@ a0b4b514-3c14-6b98-ca98-e18a79e9792f osTeleportAgent - - arguments - agenttypestring - regionNametypestring - positiontypevector - lookattypevector - - - osTeleportAgent arguments agenttypestring @@ -7551,6 +7568,15 @@ a0b4b514-3c14-6b98-ca98-e18a79e9792f lookattypevector + osTeleportAgent + + arguments + agenttypestring + regionNametypestring + positiontypevector + lookattypevector + + osTeleportObject returninteger @@ -7564,8 +7590,6 @@ a0b4b514-3c14-6b98-ca98-e18a79e9792f osTeleportOwner arguments - regionXtypeinteger - regionYtypeinteger positiontypevector lookattypevector @@ -7581,6 +7605,8 @@ a0b4b514-3c14-6b98-ca98-e18a79e9792f osTeleportOwner arguments + regionXtypeinteger + regionYtypeinteger positiontypevector lookattypevector