diff options
author | Cinder <cinder.roxley@phoenixviewer.com> | 2014-05-28 12:55:00 -0600 |
---|---|---|
committer | Cinder <cinder.roxley@phoenixviewer.com> | 2014-05-28 12:55:00 -0600 |
commit | 299be536119b0adb9887e087f7ec9be8b356f97f (patch) | |
tree | c518d3959cc15acb93fadcbb552f0c332beeba81 | |
parent | ec2b00c2e5fccd7432ef1b5a5ab5c88d098e95f2 (diff) |
Make default and state out of flow-control and into events
-rwxr-xr-x | indra/newview/app_settings/keywords_lsl_default.xml | 34 |
1 files changed, 24 insertions, 10 deletions
diff --git a/indra/newview/app_settings/keywords_lsl_default.xml b/indra/newview/app_settings/keywords_lsl_default.xml index 02823136ee..ef699031c6 100755 --- a/indra/newview/app_settings/keywords_lsl_default.xml +++ b/indra/newview/app_settings/keywords_lsl_default.xml @@ -3,11 +3,6 @@ <map> <key>controls</key> <map> - <key>default</key> - <map> - <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>do</key> <map> <key>tooltip</key> @@ -38,11 +33,6 @@ <key>tooltip</key> <string>Leave current event or function.\nreturn [<variable>];\nOptionally pass back a variable's value, from a function.</string> </map> - <key>state</key> - <map> - <key>tooltip</key> - <string>state <target>\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> @@ -6005,6 +5995,30 @@ </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 <target>\nChange to the target state.</string> + </map> <key>at_rot_target</key> <map> <key>arguments</key> |