Added script for dialogue events to activate or deactivate a game object.