Difference between revisions of "IsArmor"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WereWolf
imported>Speedo
(Fixed syntax)
Line 2: Line 2:


'''Syntax:'''
'''Syntax:'''
  IsArmor [''ObjectID'']
  (IsArmor:bool) ''reference.''IsArmor ''ObjectID:ref''
Returns true if the object id passed in is classed as armor.  Takes precedence over the reference version


[''ref.'']IsArmor
Returns whether the object is classed as armor.
 
Returns true if calling object is classed as armor.


<!--[[Category: OBSE Functions]]
<!--[[Category: OBSE Functions]]

Revision as of 12:31, 14 April 2008

A command for Oblivion Script Extender

Syntax:

(IsArmor:bool) reference.IsArmor ObjectID:ref

Returns whether the object is classed as armor.