Difference between revisions of "UnregisterForLOS - Form"
Jump to navigation
Jump to search
imported>Henning |
imported>Enter 77 m (→Parameters) |
||
(One intermediate revision by one other user not shown) | |||
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]] | ||
Line 11: | Line 12: | ||
== Parameters == | == Parameters == | ||
*akViewer: The [[Actor Script|Actor]] that was | *akViewer: The [[Actor Script|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. | *akTarget: The target the actor was looking for. If the viewer is not the player, this must be an actor. | ||
Latest revision as of 15:30, 4 March 2013
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[edit | edit source]
Function UnregisterForLOS(Actor akViewer, ObjectReference akTarget) native
Parameters[edit | edit source]
- 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 Value[edit | edit source]
None
Examples[edit | edit source]
; Unregister for Joe seeing Bob
UnregisterForLOS(Joe, Bob)
Notes[edit | edit source]
Aliases and quests will automatically unregister for this event when the quest stops. Active magic effects will automatically unregister when they are removed.