passing args to tasks

Ah, right. Sorry about that; we have fixed this in the current version of Panda (by moving these symbols into the class), but it probably wasn’t yet fixed in this way by the time 1.2.3 was released.

In the meantime, sure–this is standard Python stuff. You can either go back to importing Task as a module, and then reference the class as Task.Task (which is probably the simplest solution), or you can do an import statement like this:

from direct.task.Task import Task, cont

And then you can reference Task as a class, and return cont (by itself, with no prefix). You can get fancier, too–you could do:

from direct.task.Task import cont as Task_cont

and then return Task_cont.

David