UnregisterForLOS - Form

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.

SyntaxEdit

Function UnregisterForLOS(Actor akViewer, ObjectReference akTarget) native

ParametersEdit

  • akViewer: The Actor that was 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 ValueEdit

None

ExamplesEdit

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

NotesEdit

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

See AlsoEdit