User Tools

Site Tools


crpl:docs:func_usercancelaction

This is an old revision of the document!


~~DISCUSSION~~ <- CRPL reference <- Vars and Functions

:UserCancelAction

ArgumentsResultNotation

Description

Special function that is automatically called whenever the player initiates a cancel action.

Please note: when this occurs, it is called instead of the main body of the script. To get around this, structure your script like so:

 @main

 :UserCancelAction
  ...
  @main

 :main
  ...

Examples

UserCancelAction

“You cancelled!” SetText

crpl/docs/func_usercancelaction.1482292354.txt.gz · Last modified: 2025/02/14 14:56 (external edit)