User Tools

Site Tools


crpl:docs:func_usercancelaction

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
crpl:docs:func_usercancelaction [2014/05/14 21:53] – created Clean0nioncrpl:docs:func_usercancelaction [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
-~~DISCUSSION~~ 
 <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#vars_and_functions|Vars and Functions]] <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#vars_and_functions|Vars and Functions]]
  
 =====  :UserCancelAction ===== =====  :UserCancelAction =====
- 
-^Arguments^Result^Notation^ 
-| | |''-- ''| 
- 
  
 === Description === === Description ===
 Special function that is automatically called whenever the player initiates a cancel action. Special function that is automatically called whenever the player initiates a cancel action.
-FIXME+ 
 +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: 
 +<code> 
 + @main 
 + 
 + :UserCancelAction 
 +  ... 
 +  @main 
 + 
 + :main 
 +  ... 
 +</code> 
 +Or create a dedicated script, as this is not oft-needed. See the PaC selection handler. 
 === Examples === === Examples ===
   :UserCancelAction   :UserCancelAction
     "You cancelled!" SetText     "You cancelled!" SetText
  
crpl/docs/func_usercancelaction.1400104432.txt.gz · Last modified: 2025/02/14 14:56 (external edit)