Difference between revisions of "IsWeapon"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Behippo
(correct calling conventions)
imported>WereWolf
(Fixed categories)
Line 12: Line 12:
[[Category: OBSE Item Functions]]
[[Category: OBSE Item Functions]]
[[Category: OBSE Reference Functions]]
[[Category: OBSE Reference Functions]]
[[Category: Functions]]
[[Category: Functions (OBSE)]]
[[Category: Inventory Functions]]
[[Category: Inventory Functions (OBSE)]]
[[Category: Condition Functions]]
[[Category: Condition Functions (OBSE)]]

Revision as of 15:54, 11 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.