Difference between revisions of "NameIncludes"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(→‎See Also: Added HasName)
imported>Haama
(Fixed syntax)
Line 2: Line 2:


'''Syntax:'''
'''Syntax:'''
  (nameContainsString) ''reference.''NameIncludes "toFindInName:string" ''objectID:ref''
  (nameContainsString:bool) ''reference.''NameIncludes "toFindInName:string" ''objectID:ref''


Returns 1 if stringToFindInName is found in the name if the object.
Returns 1 if stringToFindInName is found in the name if the object.

Revision as of 17:37, 26 March 2008

A command for Oblivion Script Extender

Syntax:

(nameContainsString:bool) reference.NameIncludes "toFindInName:string" objectID:ref

Returns 1 if stringToFindInName is found in the name if the object.

Notes

See Also