Difference between revisions of "CompareName"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(Quotes for syntax)
imported>WereWolf
Line 1: Line 1:
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]
CompareName - returns 1 if stringToFindInName is found in the name if the object


'''Syntax:'''
'''Syntax:'''
  (nameContainsString) ''reference.''CompareName "toFindInName:string" ''objectID:ref''
  (nameContainsString) ''reference.''CompareName "toFindInName:string" ''objectID:ref''
CompareName - returns 1 if stringToFindInName is found in the name if the object


==Notes==
==Notes==

Revision as of 12:01, 14 September 2007

A command for Oblivion Script Extender

Syntax:

(nameContainsString) reference.CompareName "toFindInName:string" objectID:ref

CompareName - returns 1 if stringToFindInName is found in the name if the object

Notes

See Also