User Tools

Site Tools


crpl:docs:func_usercancelaction

This is an old revision of the document!


<- CRPL reference <- Vars and Functions

:UserCancelAction

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
  ...

Or create a dedicated script, as this is not oft-needed. See the PaC selection handler.

Examples

UserCancelAction

“You cancelled!” SetText

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