Difference between revisions of "IsSpellHostile"

115 bytes added ,  17:03, 26 May 2008
unknown to the CS in beta 1
imported>DragoonWraith
(New page: A command for Oblivion Script Extender '''Syntax:''' (isHostile:bool) GetSpellHostile spell:ref Returns 1 if spell is considered hostile. == Note...)
 
imported>DragoonWraith
(unknown to the CS in beta 1)
Line 7: Line 7:


== Notes ==
== Notes ==
* '''In the current beta version of v0015, beta 1, GetSpellHostile will get an Unknown Command error in the CS.'''
* 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.