Difference between revisions of "OBSE Wishes Fulfilled"

236 bytes added ,  07:58, 29 April 2008
Add GetProcessLevel
imported>Scruggs
(Is/SetSpellHostile (0015))
imported>Scruggs
(Add GetProcessLevel)
Line 112: Line 112:
*'''IsSpellHostile Spell:ref''' - returns true if the spell will be considered an attack - '''not''' the same as checking the hostility of every effect. In most cases a spell is hostile if any of its effects are hostile, but if a non-hostile spell has a hostile effect added (or a hostile spell has its hostile effects removed), the "hostility" status does not update.
*'''IsSpellHostile Spell:ref''' - returns true if the spell will be considered an attack - '''not''' the same as checking the hostility of every effect. In most cases a spell is hostile if any of its effects are hostile, but if a non-hostile spell has a hostile effect added (or a hostile spell has its hostile effects removed), the "hostility" status does not update.
*'''ForceSpellHostilityUpdate Spell:ref''' - fixes the above problem. ''SetSpellHostile''
*'''ForceSpellHostilityUpdate Spell:ref''' - fixes the above problem. ''SetSpellHostile''
*'''GetProcessState''' - Returns the current level of processing for the actor based on its distance from the player. The console functions like ToggleHighProcess and ToggleLowProcess might provide a starting point. ''GetProcessLevel''
Anonymous user