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

Description

Wiki Description

Returns whether this enchantment is considered hostile or not.

Documentation Comment

Is this enchantment classified as hostile?


Caveats


Examples

if (SwordEnchant.IsHostile())
  Debug.Trace("Got hit with a hostile enchant!")
endIf

Auto-Generated Example

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