PythonTask + S_inactive

How to I set the state of a PythonTask to something other than S_inactive.
(I’m not even sure this is possible, just thought I’d check)

I’m using the Pause+Resume snippet by ynjh_jo.

After I pause the scene, it makes all my tasks PythonTasks and makes them S_inactive.

taskMgr.add(task) will make the task active again. But presumably this is done by the “resume” part of the pause/resume snippet?


I would think so…
I’ll try your code and see what happens…

EDIT: Worked, thanks!