From 299be536119b0adb9887e087f7ec9be8b356f97f Mon Sep 17 00:00:00 2001 From: Cinder Date: Wed, 28 May 2014 12:55:00 -0600 Subject: Make default and state out of flow-control and into events --- .../newview/app_settings/keywords_lsl_default.xml | 34 +++++++++++++++------- 1 file changed, 24 insertions(+), 10 deletions(-) (limited to 'indra') 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 @@ controls - default - - tooltip - 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. - do tooltip @@ -38,11 +33,6 @@ tooltip Leave current event or function.\nreturn [<variable>];\nOptionally pass back a variable's value, from a function. - state - - tooltip - state <target>\nIf the target state is not the same as the current one, change to the target state. - while tooltip @@ -6005,6 +5995,30 @@ events + default + + arguments + + tooltip + 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. + + state + + arguments + + + Name + + type + string + tooltip + + + + + tooltip + state <target>\nChange to the target state. + at_rot_target arguments -- cgit v1.2.3