diff --git a/indra/newview/app_settings/types_lua_default.xml b/indra/newview/app_settings/types_lua_default.xml index 370d8a7823..2abec28d7d 100644 --- a/indra/newview/app_settings/types_lua_default.xml +++ b/indra/newview/app_settings/types_lua_default.xml @@ -909,6 +909,35 @@ comment Creates a vector from a string argument in format `<1,1,1>` Invalid strings will return `nil` #### Caveat Due to an old error from lsl strings that match upto the closing `>` are interpreted as valid So `<1,1,1`, `<1,1,1,1` and `<1,1,1spoon` are all cast to `<1,1,1>` When testing if a string is a quaternion or a vector, you should test with `toquaternion` first. + + name + vector + parameters + + + name + x + type + number + + + name + y + type + number + + + name + z + type + number + + + returnType + vector + comment + Creates a vector from x,y,z + name quaternion