Difference between revisions of "Print"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Odessa
m (added category debugging)
imported>Odessa
(improved example)
Line 8: Line 8:
   |Type = expression
   |Type = expression
   }}
   }}
  |example = Print $this
  |example = Print "My mod version is " + $MyMainQuest.Version + " and NVSE version is " + $(GetNVSEVersion)
}}
}}
==See Also==
==See Also==
*[[PrintToConsole]] (PrintC)
*[[PrintToConsole]] (PrintC)
*[[ToString|ToString($)]]
*[[String Variable]]
*[[String Variable]]
[[Category:Functions_(NVSE)]]
[[Category:Functions_(NVSE)]]
[[Category:Debugging]]
[[Category:Debugging]]

Revision as of 10:36, 20 July 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, the ToString function, etc.

Syntax

[help]
(none) Print string:expression

Example

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

See Also