<- CRPL reference <- Vars and Functions

:ShowMessageDialogCallback

Description

Special function that is automatically called whenever the player clicks on one of the buttons in a dialog displayed by ShowMessageDialog. The identity of the button clicked is placed on the stack before this function is called.

ResultDescription
0Player clicked OK (left/blue button)
1Player clicked Cancel (right/red button)

Examples

See ShowMessageDialog for an example.