Print

From the Oblivion ConstructionSet Wiki
Revision as of 09:46, 4 August 2010 by 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...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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