IsHostile - Enchantment

From Creation Kit
Jump to: navigation, search

Member of: Enchantment Script

Returns whether this enchantment is considered hostile or not.

Syntax

bool Function IsHostile() native

Parameters

None.

Return Value

Whether this enchantment is considered hostile

Examples

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

See Also