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>WereWolf
 
(3 intermediate revisions by 2 users not shown)
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.


[[Category: OBSE Functions]]
<!--[[Category: OBSE Functions]]
[[Category: OBSE Item Functions]]
[[Category: OBSE Item Functions]]
[[Category: OBSE Reference Functions]]
[[Category: OBSE Reference Functions]]
I was not sure if I must delete this info, so I've just hide it.-->
[[Category: Functions]]
[[Category: Functions (OBSE)]]
[[Category: Inventory Functions]]
[[Category: Inventory Functions (OBSE)]]

Latest revision as of 01:27, 12 September 2007

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.