IsHostile - Potion

From Creation Kit
Jump to: navigation, search

Member of: Potion Script

Returns whether this potion is considered hostile or not.

Syntax

bool Function IsHostile() native

Parameters

None.

Return Value

Whether this potion is considered hostile

Examples

if (MyPotion.IsHostile())
  Debug.Trace("Got hit with a hostile potion!")
endIf

See Also