Set a Python Script TOP node as "Cooked"

   2273   1   1
User Avatar
Member
325 posts
Joined: July 2005
Offline
Hey guys,

I've got a Python Script TOP node as a part of a PDG graph that does some magic and I want the node to be set to “Cooked” after a particular event. How can I force set it to “Cooked” with python?


Thanks,
Vlad
Edited by madjestic - March 28, 2019 09:41:18
I liked the Mustang
User Avatar
Member
603 posts
Joined: Sept. 2016
Offline
If you start cooking the graph before the event happens, then you can just spin wait in the body of your script until the event comes in. The item will then be marked cooked and the graph cook will complete.
  • Quick Links