summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2014-06-04 10:29:40 -0400
committerOz Linden <oz@lindenlab.com>2014-06-04 10:29:40 -0400
commit7e8d4ca3b1d96b5573aab99015f431147e6c6965 (patch)
tree691e1c59cfb93d396dafca76682cefef661a76fd
parent274327e1e2b2486eddb66d787e410b54d37e4437 (diff)
make "default" a constant, and remove that and "state" from events
-rwxr-xr-xindra/newview/app_settings/keywords_lsl_default.xml34
1 files changed, 10 insertions, 24 deletions
diff --git a/indra/newview/app_settings/keywords_lsl_default.xml b/indra/newview/app_settings/keywords_lsl_default.xml
index ef699031c6..37dd2db93f 100755
--- a/indra/newview/app_settings/keywords_lsl_default.xml
+++ b/indra/newview/app_settings/keywords_lsl_default.xml
@@ -33,6 +33,11 @@
<key>tooltip</key>
<string>Leave current event or function.\nreturn [&lt;variable&gt;];\nOptionally pass back a variable's value, from a function.</string>
</map>
+ <key>state</key>
+ <map>
+ <key>tooltip</key>
+ <string>state &lt;target&gt;\nIf the target state is not the same as the current one, change to the target state.</string>
+ </map>
<key>while</key>
<map>
<key>tooltip</key>
@@ -5992,33 +5997,14 @@
<key>tooltip</key>
<string/>
</map>
- </map>
- <key>events</key>
- <map>
<key>default</key>
<map>
- <key>arguments</key>
- <undef />
- <key>tooltip</key>
- <string>All scripts must have a default state, which is the first state entered when the script starts.\nIf another state is defined before the default state, the compiler will report a syntax error.</string>
- </map>
- <key>state</key>
- <map>
- <key>arguments</key>
- <array>
- <map>
- <key>Name</key>
- <map>
- <key>type</key>
- <string>string</string>
- <key>tooltip</key>
- <string/>
- </map>
- </map>
- </array>
- <key>tooltip</key>
- <string>state &lt;target&gt;\nChange to the target state.</string>
+ <key>tooltip</key>
+ <string>All scripts must have a default state, which is the first state entered when the script starts.\nIf another state is defined before the default state, the compiler will report a syntax error.</string>
</map>
+ </map>
+ <key>events</key>
+ <map>
<key>at_rot_target</key>
<map>
<key>arguments</key>