TwostateXML

From Elite Wiki
Revision as of 14:56, 23 January 2006 by Arexack (talk | contribs) (XML example AI)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<dict>

<key>STATE_1</key>
<dict>
 <key>ENTER</key>
 <array>
  <string></string>
 </array>
 <key>MESSAGE_A</key>
 <array>
  <string>method1: value</string>
  <string>method2</string>
  <string>method3</string>
 </array>
 <key>MESSAGE_B</key>
 <array>
  <string>method4</string>
  <string>setStateTo: STATE_2</string>
 <key>EXIT</key>
 <array>
  <string></string>
 </array>
 <key>UPDATE</key>
 <array>
  <string></string>
 </array>
</dict>
<key>STATE_2</key>
<dict>
 <key>ENTER</key>
 <array>
  <string></string>
 </array>
 <key>MESSAGE_A</key>
 <array>
  <string>method1: another_value</string>
  <string>method5</string>
 </array>
 <key>MESSAGE_B</key>
 <array>
  <string>method6</string>
  <string>method7</string>
  <string>setStateTo: STATE_1</string>
 <key>EXIT</key>
 <array>
  <string></string>
 </array>
 <key>UPDATE</key>
 <array>
  <string></string>
 </array>
</dict>

</dict>

Methods for AI