Thank you for all your help in my hurdles towards a first full game. The next hurdle is creation of entities from Python code. Here what I intend to do:
def createTile(self, x, y): template = EntityTemplates["chessboardTile"] name = str(x)+"x"+str(y) params = parblock({"x": x, "y": y}) e = CreateEntity(template, name, params) What actually happens when the code hits parblock(): Traceback (most recent call last): File "chessboard.py", line 17, in __init__ self.createTile(x,y) File "chessboard.py", line 109, in createTile params = parblock(["x","y"]) File "/home/baribal/src/CEL_latest/scripts/blcelc.py", line 541, in CreateParameterBlock parblock.SetParameterDef (idx,keyid,valkey) File "/home/baribal/src/CEL_latest/scripts/blcelc.py", line 990, in SetParameterDef def SetParameterDef(*args): return _blcelc.celGenericParameterBlock_SetParameterDef(*args) TypeError: celGenericParameterBlock_SetParameterDef expected 3 arguments, got 4 According to the manual, parblock() *should* succeed as it is there. What's happening here? Liebe Grüße, Sebastian Hoffmann ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Cel-main mailing list Cel-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cel-main