Exemplo n.º 1
0
 def interval(self, data):
     try:
         for t in self.templates:
             objects = host.omgr_getObjectsOfTemplate(t)
             for obj in objects:
                 if obj.isValid() and game.utilities.reasonableObject(obj) and not obj.getIsWreck():
                     pos = obj.getPosition()
                     game.utilities.createObject('objective_marker', pos)
     except Exception, e:
         print 'destroyObjective interval exception', e
Exemplo n.º 2
0
	def getObjectsOfTemplate(self, templ):
		return host.omgr_getObjectsOfTemplate(templ)
 def getObjectsOfTemplate(self, templ):
     return host.omgr_getObjectsOfTemplate(templ)