Vega strike Python Modules doc  0.5.1
Documentation of the " Modules " folder of Vega strike
 All Data Structures Namespaces Files Functions Variables
ai_sitting_duck.py
Go to the documentation of this file.
1 import VS
2 import sys
3 class MyAI(VS.PythonAI):
4  def init(self,un):
5 # self.XMLScript ("++turntowards.xml")
6  self.AddReplaceLastOrder(1)
7  def Execute(self):
8  VS.PythonAI.Execute(self);
9 # sys.stdout.write('h')
10  return ''
11 hi1 = MyAI()
12 print 'AI creation successful'
13 hi1 = 0
14 #: 1.7; previous revision: 1.6