Difference between revisions of "IsAlchemyItem"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
(OBSE)
 
imported>Behippo
(correct calling conventions)
Line 2: Line 2:


'''Syntax:'''
'''Syntax:'''
  [''ObjectID.'']IsAlchemyItem
  IsAlchemyItem [''ObjectID'']
IsPotion [''ObjectID'']


Must be called on a reference. Returns true if calling object is classed as an Alchemy item.
Returns true if the object id passed is a Potion.  This version takes precedence over the Reference version.
 
[''ref.'']IsAlchemyItem
[''ref.'']IsPotion
Must be called on a reference. Returns true if calling object is a Potion.


[[Category: OBSE Functions]]
[[Category: OBSE Functions]]
[[Category: OBSE Item Functions]]
[[Category: OBSE Item Functions]]
[[Category: OBSE Reference Functions]]
[[Category: OBSE Reference Functions]]

Revision as of 13:55, 19 August 2006

A command for Oblivion Script Extender

Syntax:

IsAlchemyItem [ObjectID]
IsPotion [ObjectID]

Returns true if the object id passed is a Potion. This version takes precedence over the Reference version.

[ref.]IsAlchemyItem
[ref.]IsPotion

Must be called on a reference. Returns true if calling object is a Potion.