<- CRPL reference <- Vars and Functions
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.
| Result | Description |
|---|---|
| 0 | Player clicked OK (left/blue button) |
| 1 | Player clicked Cancel (right/red button) |
See ShowMessageDialog for an example.