Difference between revisions of "Print"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Low Post
m
imported>Low Post
m
 
Line 14: Line 14:
==See Also==
==See Also==
* [[PrintC]]
* [[PrintC]]
* [[PrintD]
* [[PrintD]]
*[[Message]]
*[[Message]]
*[[MessageEx]]
*[[MessageEx]]

Latest revision as of 10:05, 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[edit | edit source]