Skip to content
Snippets Groups Projects
Commit 299be536 authored by Cinder's avatar Cinder
Browse files

Make default and state out of flow-control and into events

parent ec2b00c2
No related branches found
No related tags found
No related merge requests found
...@@ -3,11 +3,6 @@ ...@@ -3,11 +3,6 @@
<map> <map>
<key>controls</key> <key>controls</key>
<map> <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> <key>do</key>
<map> <map>
<key>tooltip</key> <key>tooltip</key>
...@@ -38,11 +33,6 @@ ...@@ -38,11 +33,6 @@
<key>tooltip</key> <key>tooltip</key>
<string>Leave current event or function.\nreturn [&lt;variable&gt;];\nOptionally pass back a variable's value, from a function.</string> <string>Leave current event or function.\nreturn [&lt;variable&gt;];\nOptionally pass back a variable's value, from a function.</string>
</map> </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> <key>while</key>
<map> <map>
<key>tooltip</key> <key>tooltip</key>
...@@ -6005,6 +5995,30 @@ ...@@ -6005,6 +5995,30 @@
</map> </map>
<key>events</key> <key>events</key>
<map> <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>
</map>
<key>at_rot_target</key> <key>at_rot_target</key>
<map> <map>
<key>arguments</key> <key>arguments</key>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment