IsHostile - Ingredient

From Creation Kit
Jump to: navigation, search

Member of: Ingredient Script

Returns whether this ingredient is considered hostile or not.

Syntax

bool Function IsHostile() native

Parameters

None.

Return Value

Whether this ingredient is considered hostile

Examples

if (Herb.IsHostile())
  Debug.Trace("Just ate a 'hostile' herb!")
endIf

See Also