Difference between revisions of "Print"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>UDUN
(New page: <!-- Begin Search Terms Print End Search Terms --> A command for Oblivion Script Extender '''Syntax:''' (nothing) Print string:expr Prints a st...)
 
imported>Low Post
m
Line 14: Line 14:
==See Also==
==See Also==
* [[PrintC]]
* [[PrintC]]
* [[PrintD]
*[[Message]]
*[[Message]]
*[[MessageEx]]
*[[MessageEx]]

Revision as of 10:04, 1 October 2010

A command for Oblivion Script Extender

Syntax:

(nothing) Print string:expr

Prints a string expression to the console. This is mainly a convenience function to eliminate the need for temporary string variables when printing complex strings using PrintToConsole, as it supports string concatenation, the ToString function, etc.

Example:

 Print "First item: " + (GetName baseItems[0][item] + " Quanitity: " + ToString baseItems[0][count]

See Also