Difference between revisions of "Notification - Debug"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Rhavlovick
m (1 revision: Clobber re-import by Henning)
 
imported>Fg109
m (→‎Notes: clarified notes)
 
(One intermediate revision by the same user not shown)
Line 21: Line 21:
Debug.Notification("Hello, world!")
Debug.Notification("Hello, world!")
</source>
</source>
== Notes ==
*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]