Difference between revisions of "UnregisterForLOS - Form"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Henning
 
imported>JLundin
Line 1: Line 1:
[[Category:Scripting]]
[[Category:Scripting]]
[[Category:Papyrus]]
[[Category:Papyrus]]
[[Category:Non-delayed Native Function]]
'''Member of:''' [[ActiveMagicEffect Script]], [[Alias Script]], and [[Form Script]]
'''Member of:''' [[ActiveMagicEffect Script]], [[Alias Script]], and [[Form Script]]



Revision as of 08:03, 12 September 2012

Member of: ActiveMagicEffect Script, Alias Script, and Form Script

Unregisters this active magic effect/alias/form to stop receiving LOS events from between the viewer and the target.

Syntax

Function UnregisterForLOS(Actor akViewer, ObjectReference akTarget) native

Parameters

  • akViewer: The Actor that was be looking for the target.
  • akTarget: The target the actor was looking for. If the viewer is not the player, this must be an actor.

Return Value

None

Examples

; Unregister for Joe seeing Bob
UnregisterForLOS(Joe, Bob)

Notes

Aliases and quests will automatically unregister for this event when the quest stops. Active magic effects will automatically unregister when they are removed.

See Also