Background for Skyrim SE
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 Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.