IsAmmo

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

A command for Oblivion Script Extender

Syntax:

IsAmmo [ObjectID]

Returns true if the passed ObjectID is classed as ammo. This version takes precedence over the reference version.

[ref.]IsAmmo

Returns true if calling object is classed as ammo. The ref is not needed when calling from within an object's script.