IsWeapon

From the Oblivion ConstructionSet Wiki
Revision as of 01:27, 12 September 2007 by imported>WereWolf
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.