Added lsl functions from Second Life RC LeTigre 13.12.20.285035
This commit is contained in:
@@ -540,6 +540,11 @@ void LLScriptLibrary::init()
|
|||||||
addFunction(0.f, 0.f, dummy_func, "llGetAnimationOverride", "s", "s");
|
addFunction(0.f, 0.f, dummy_func, "llGetAnimationOverride", "s", "s");
|
||||||
addFunction(0.f, 0.f, dummy_func, "llResetAnimationOverride", NULL, "s");
|
addFunction(0.f, 0.f, dummy_func, "llResetAnimationOverride", NULL, "s");
|
||||||
|
|
||||||
|
// Server RC LeTigre 13.12.20.285035 new function
|
||||||
|
addFunction(10.f, 0.f, dummy_func, "llScaleByFactor" , "i", "f");
|
||||||
|
addFunction(10.f, 0.f, dummy_func, "llGetMinScaleFactor" , "f", NULL);
|
||||||
|
addFunction(10.f, 0.f, dummy_func, "llGetMaxScaleFactor" , "f", NULL);
|
||||||
|
|
||||||
// SL-LSL Functions to be added above this line
|
// SL-LSL Functions to be added above this line
|
||||||
// ---------------------------------------------
|
// ---------------------------------------------
|
||||||
// NOTE bytecode placement no longer applies, viewers do not compile scripts anymore (confirmed with LL, also noted by Phoenix/Firestorm team.)
|
// NOTE bytecode placement no longer applies, viewers do not compile scripts anymore (confirmed with LL, also noted by Phoenix/Firestorm team.)
|
||||||
|
|||||||
@@ -1039,5 +1039,12 @@
|
|||||||
<!-- 13.06.21.277682 new function -->
|
<!-- 13.06.21.277682 new function -->
|
||||||
<key>llXorBase64</key>
|
<key>llXorBase64</key>
|
||||||
<map/>
|
<map/>
|
||||||
|
<!-- Server RC LeTigre 13.12.20.285035 new function -->
|
||||||
|
<key>llScaleByFactor</key>
|
||||||
|
<map/>
|
||||||
|
<key>llGetMinScaleFactor</key>
|
||||||
|
<map/>
|
||||||
|
<key>llGetMaxScaleFactor</key>
|
||||||
|
<map/>
|
||||||
</map>
|
</map>
|
||||||
</llsd>
|
</llsd>
|
||||||
|
|||||||
@@ -2095,6 +2095,21 @@ Returns all objects of a particular owner in the given scope or an ERR_* flag.
|
|||||||
string llXorBase64(string str1, string str2)
|
string llXorBase64(string str1, string str2)
|
||||||
Returns a string that is a Base64 XOR of Base64-formatted input strings.
|
Returns a string that is a Base64 XOR of Base64-formatted input strings.
|
||||||
</string>
|
</string>
|
||||||
|
<string name="LSLTipText_llScaleByFactor" translate="false">
|
||||||
|
integer llScaleByFactor(float scaling_factor)
|
||||||
|
Returns a string that is a Base64 XOR of Base64-formatted input strings.
|
||||||
|
Uniformly resizes the linkset by the given multiplicative scale factor (e.g. 2.0 to double the scale in all dimensions)
|
||||||
|
Returns TRUE if rescaling was successful or FALSE otherwise
|
||||||
|
This function only succeeds in non-physical objects
|
||||||
|
</string>
|
||||||
|
<string name="LSLTipText_llGetMinScaleFactor" translate="false">
|
||||||
|
float llGetMinScaleFactor()
|
||||||
|
Returns the minimum multiplicative scale factor which can be used by llScaleByFactor(); i.e. such that every prim in the linkset is >=1cm in scale
|
||||||
|
</string>
|
||||||
|
<string name="LSLTipText_llGetMaxScaleFactor" translate="false">
|
||||||
|
float llGetMaxScaleFactor()
|
||||||
|
Returns the maximum multiplicative scale factor which can be used by llScaleByFactor(); i.e. such that every prim in the linkset is <=64m and the resulting linkset meets the linkability requirements
|
||||||
|
</string>
|
||||||
<!-- GOD FUNCTIONS -->
|
<!-- GOD FUNCTIONS -->
|
||||||
<string name="LSLTipText_llGodLikeRezObject">
|
<string name="LSLTipText_llGodLikeRezObject">
|
||||||
llGodLikeRezObject( key inventory, vector pos )
|
llGodLikeRezObject( key inventory, vector pos )
|
||||||
|
|||||||
Reference in New Issue
Block a user