ToString

Revision as of 14:47, 7 July 2012 by imported>QQuix (New page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< [[::Category:Functions|Category:Functions]]

A function added by the Oblivion Script Extender.

Syntax:

(string) ToString expr

Attempts to convert an expression to a string.

For numeric expressions, the result is a string representation of the numeric value.

For objects, it is the name of the object if available; otherwise it is the formID expressed in hexadecimal notation.

For string expressions no conversion is necessary.