Sly 1:Dialogue

Dialogues (or dialogs) are in-game cutscenes where one or more characters have speaking lines. These most commonly refer to Bentley cutscenes over the, but they are also used for things like PA announcements in the hub maps.

Triggering dialog
When a dialog trigger is entered, it calls  with a pointer to the DIALOG struct. This funcion does some checks to make sure the DIALOG can be played, and then calls  to set the DIALOG state to either DIALOGS::Triggered or DIALOGS::UnableToCall.