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

Description

Wiki Description

Returns whether this spell is considered hostile or not.

Documentation Comment

Is this spell classified as hostile?


Caveats


Examples

if (MySpell.IsHostile())
  Debug.Trace("Got hit with a hostile spell!")
endIf

Auto-Generated Example

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