Difference between revisions of "IsWeapon"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
(removing example as it's pointless - the function is self-explanatory)
imported>Behippo
(correct calling conventions)
Line 2: Line 2:


'''Syntax:'''
'''Syntax:'''
  [''ItemID.'']IsWeapon
  IsWeapon [''ObjectID'']
Returns true if the passed object id is classed as a weapon.
 
[''ref.'']IsWeapon


Returns true if the calling object is classed as a weapon.
Returns true if the calling object is classed as a weapon.

Revision as of 15:13, 19 August 2006

A command for Oblivion Script Extender

Syntax:

IsWeapon [ObjectID]

Returns true if the passed object id is classed as a weapon.

[ref.]IsWeapon

Returns true if the calling object is classed as a weapon.