CompareNames

From the Oblivion ConstructionSet Wiki
Revision as of 00:53, 25 November 2007 by imported>Haama (Created)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A command for Oblivion Script Extender

Syntax:

(comparison:short) reference.CompareNames compareTo:ref compare:ref

Compares the names of two objects and returns -1 if the first occurs alphabetically before the second, 1 if the first occurs after the second, or 0 for equality. Comparison is case-insensitive.

See Also