working on a list for the data struct
that will make my basic AI a lot easier to handle
edit: game.objects[self.num].data.frames[self.frame].opoint.oid
this example does not work
this one does:
self.data.frames[self.frame].opoint.oid
(08-22-2012, 02:11 PM)Someone else Wrote:so that's basically like loadTarget(i) except allowing multiple ones with any name we want?
- As a result of this you can do the same with target:
"target = 123;"
that will make my basic AI a lot easier to handle
(08-22-2012, 02:11 PM)Someone else Wrote:could you mash up a quick example for this?
- This is useful for sharing variables between scripts. (more on this later)
- If a file is compiled this way "module" will be defined. Otherwise "character" is defined.
edit: game.objects[self.num].data.frames[self.frame].opoint.oid
this example does not work
this one does:
self.data.frames[self.frame].opoint.oid
favorite dcing techniques: wpoint | double key inputs | holding back | alternate basic moves