User Tools

Site Tools


crpl:docs:showmessage

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
crpl:docs:showmessage [2013/10/26 03:18] – fix breadcrumb to point at Screen Commands section Grayzzurcrpl:docs:showmessage [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
-~~DISCUSSION~~+
 <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#screen_commands|Screen Commands]] <- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#screen_commands|Screen Commands]]
 =====  ShowMessage  ===== =====  ShowMessage  =====
Line 8: Line 8:
  
 === Description === === Description ===
-Displays a message in the User Interface at coordinates (i1,i2) in pixels. The message will disappear next frame so you'll have to call it every frame.+Displays a message in the User Interface at screen pixel coordinates (i1,i2) (upper left as origin). The message will disappear next frame so you'll have to call it every frame. Limit one message or message dismissible at a time.
 === Examples === === Examples ===
 <code> <code>
 "Hi" 200 50 ShowMessage "Hi" 200 50 ShowMessage
 </code>  </code> 
 +
 +<code>
 +TRUE OperateWhilePaused
 +#Put a message right next to the mouse
 +"I am under the mouse" GetMouseScreenPixelPosition ScreenHeight swap sub ShowMessage
 +</code>
 +
crpl/docs/showmessage.1382757480.txt.gz · Last modified: 2025/02/14 14:56 (external edit)