<- [[crpl:crplreference| CRPL reference]] <- [[crpl:crplreference#screen_commands|Screen Commands]] ===== ShowMessageDismissibile ===== ^Arguments^Result^Notation^ |Message and Coordinates||''n1 i1 i2 --''| === Description === Displays a message in the User Interface at coordinates (i1,i2) in screen pixel coordinates (upper left 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. Unlike [[crpl:docs:ShowMessage]], the message will have an X in the upper right corner that the player can click. Use [[crpl:docs:WasMessageDismissed]] to learn of the player's choice. === Examples === once 0 ->mode endonce if (<-mode eq(0)) ShowMessageDismissible("Close this message!\n(After you're done reading it.)" -1 60) if (WasMessageDismissed) 1 ->mode PlaySound("Retro22") endif endif