IsHostile - Ingredient

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Ingredient Script

Returns whether this ingredient 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 ingredient is considered hostile

Examples[edit | edit source]

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

See Also[edit | edit source]