Difference between revisions of "SetSpellHostile"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
(New page: A command for Oblivion Script Extender '''Syntax:''' (nothing) GetSpellHostile spell:ref isHostile:bool Sets whether or not a spell is considered ...)
 
imported>DragoonWraith
m (updating link)
 
(2 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:'''
  (nothing) GetSpellHostile spell:ref isHostile:bool
  (nothing) SetSpellHostile spell:ref isHostile:bool


Sets whether or not a spell is considered hostile.
Sets whether or not a spell is considered hostile.
Line 12: Line 13:


== See Also ==
== See Also ==
* [[GetSpellHostile]]
* [[IsSpellHostile]]


[[Category: Functions]]
[[Category: Functions]]

Latest revision as of 16:11, 26 May 2008


A command for Oblivion Script Extender

Syntax:

(nothing) SetSpellHostile spell:ref isHostile:bool

Sets whether or not a spell is considered hostile.

Notes[edit | edit source]

  • 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.
  • Removing all hostile effects from a hostile spell or adding hostile effects to a non-hostile spell will not update the hostility of the spell automatically.

See Also[edit | edit source]