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

Description

Wiki Description

Returns whether this potion is considered hostile or not.

Documentation Comment

Is this postion classified as hostile?


Caveats


Examples

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

Auto-Generated Example

bool returnedValue = myPotion__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.