IsHostile - Enchantment

From the CreationKit Wiki
Revision as of 13:31, 24 January 2011 by imported>Jlundin (Created page with 'Category:Scripting Category:Papyrus '''Member of:''' Enchantment Script Returns whether this enchantment is considered hostile or not. == Syntax == <source lang="pa…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Enchantment Script

Returns whether this enchantment is considered hostile or not.

Syntax[edit | edit source]

bool Function IsHostile() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

Whether this enchantment is considered hostile

Examples[edit | edit source]

if (SwordEnchant.IsHostile())
  Debug.Trace("Got hit with a hostile enchant!")
endIf

See Also[edit | edit source]