Difference between revisions of "IsSpellHostile"
updating
imported>DragoonWraith m (GetSpellHostile moved to IsSpellHostile: this function name actually works.) |
imported>DragoonWraith (updating) |
||
Line 3: | Line 3: | ||
'''Syntax:''' | '''Syntax:''' | ||
(isHostile:bool) | (isHostile:bool) IsSpellHostile spell:ref | ||
Returns 1 if spell is considered hostile. | Returns 1 if spell is considered hostile. | ||
== Notes == | == Notes == | ||
* '''In the | * '''In the OBSE v0015, beta 1 documentation, this function is listed as GetSpellHostile.''' | ||
* In most cases, a spell is hostile so long as it has at least one hostile effect. | * In most cases, a spell is hostile so long as it has at least one hostile effect. | ||
* [[SetSpellHostile]] may override this, so a spell with no hostile effects may be considered hostile, or a spell with hostile effects may be considered non-hostile. | * [[SetSpellHostile]] may override this, so a spell with no hostile effects may be considered hostile, or a spell with hostile effects may be considered non-hostile. |