Difference between revisions of "Notification - Debug"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Fg109
m (added note)
imported>Fg109
m (→‎Notes: clarified notes)
 
Line 23: Line 23:


== Notes ==
== Notes ==
*Notification will be truncated upon encountering "<".
*If asNotificationText contains "<" and ">", then the symbols and everything between them will not be displayed.
**If there is only "<" and no ">", then "<" and everything behind it will be truncated.
**If there is no "<" and only ">", then the notification displays as normal.


== See Also ==
== See Also ==

Latest revision as of 15:47, 14 May 2012

Member of: Debug Script

Displays a notification in the top-left corner of the screen.

Syntax[edit | edit source]

Function Notification(string asNotificationText) native global

Parameters[edit | edit source]

  • asNotificationText: The text that should be displayed in the top-left corner.

Return Value[edit | edit source]

None

Examples[edit | edit source]

; Display the class 'hello world' notification
Debug.Notification("Hello, world!")

Notes[edit | edit source]

  • If asNotificationText contains "<" and ">", then the symbols and everything between them will not be displayed.
    • If there is only "<" and no ">", then "<" and everything behind it will be truncated.
    • If there is no "<" and only ">", then the notification displays as normal.

See Also[edit | edit source]