IsHostile - Spell

From Creation Kit
Jump to: navigation, search

Member of: Spell Script

Returns whether this spell is considered hostile or not.

Syntax

bool Function IsHostile() native

Parameters

None.

Return Value

Whether this spell is considered hostile

Examples

if (MySpell.IsHostile())
  Debug.Trace("Got hit with a hostile spell!")
endIf

See Also