Difference between revisions of "IsSpellHostile"

162 bytes added ,  10:32, 27 May 2008
updating note
imported>DragoonWraith
(unknown to the CS in beta 1)
imported>DragoonWraith
(updating note)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{OBSE v0015}}
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]
A command for [[:Category:Oblivion Script Extender|Oblivion Script Extender]]


'''Syntax:'''
'''Syntax:'''
(isHostile:bool) IsSpellHostile spell:ref
  (isHostile:bool) GetSpellHostile spell:ref
  (isHostile:bool) GetSpellHostile spell:ref


Line 7: Line 9:


== Notes ==
== Notes ==
* '''In the current beta version of v0015, beta 1, GetSpellHostile will get an Unknown Command error in the CS.'''
* '''In the OBSE v0015, beta 1 documentation, only GetSpellHostile is listed, but this alias has not been implemented.''' Currently, only IsSpellHostile will work. In the final release of v0015, both aliases will work.
* 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.