In this chapter, we'll look at a few advanced topics that can be used to give your scripts extra polish and make them easier to use for your teammates. We'll see how to make your scripts work like Maya's built-in tools using contexts, trigger custom functionality in response to events using script jobs, and embed code into a scene using script nodes.
Finally, we'll look at a tool that can be used to embed custom functionality in a scene and trigger it when a specific object is selected (very useful for invoking complex UIs for character rigs, for example).