Difference between revisions of "NameIncludes"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(→‎See Also: Added links)
imported>Hrblyt
m
 
(2 intermediate revisions by one other user not shown)
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 of the object.


==Notes==
==Notes==
Line 10: Line 10:


==See Also==
==See Also==
*[[HasName]]
*[[AppendToName]]
*[[AppendToName]]
*[[CompareName]]
*[[CompareName]]

Latest revision as of 23:20, 21 April 2010

A command for Oblivion Script Extender

Syntax:

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

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

Notes[edit | edit source]

See Also[edit | edit source]