Background for Fallout 4
Member of the Ingredient script
boolfunctionIsHostile()Native

Description

Wiki Description

Returns whether this ingredient is considered hostile or not.

Documentation Comment

Is this ingredient classified as hostile?


Caveats


Examples

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

Auto-Generated Example

bool returnedValue = myIngredient__toCallFunctionOn.IsHostile()

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.