Difference between revisions of "Print"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Odessa
m (link to debug dumps)
imported>Odessa
m (see also printdebug)
Line 16: Line 16:
}}
}}
==See Also==
==See Also==
*[[PrintDebug]] (only prints if mod has debug mode enabled)
*[[PrintToConsole]] (PrintC)
*[[PrintToConsole]] (PrintC)
*[[ToString|ToString($)]]
*[[ToString|ToString($)]]

Revision as of 06:10, 16 August 2014

< [[::Category:Functions|Category:Functions]]

A function added by the New Vegas Script Extender.

Description

Added by NVSE v4. 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 and the ToString function, also making string formatting unnecessary.

Like Let and if eval, NVSE expressions and nested function calls are supported without compiler override.

Syntax

[help]
(none) Print string:expression

Example

Print "My mod version is " + $MyMainQuest.Version + " and NVSE version is " + $(GetNVSEVersion)

Console --> My mod version is 1.04 and NVSE version is 4

See Also