IsPoison

From the Oblivion ConstructionSet Wiki
Revision as of 16:59, 12 September 2007 by imported>Haama (Note on scripted effects)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

A command for Oblivion Script Extender

Returns whether the alchemy item is a poison.

Syntax:

(isPoison:bool) reference.IsPoison objectID:ref

Notes

  • A poison is an alchemy item with all hostile effects.
  • An alchemy item with even a single non-hostile effect is not a poison.
  • As of version .0012, hostile scripted effects should register as poisons.