Difference between revisions of "RegisterForSingleLOSLost - Form"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Rhavlovick
m (1 revision: Clobber re-import by 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]]



Latest revision as of 08:02, 12 September 2012

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

Registers this active magic effect/alias/form to receive a single lost LOS event. If the viewer is not currently looking at the target, the event will be sent immediately. Only the specific form, alias, or magic effect that registered will get the event - it will not be relayed to attached aliases or magic effects.

Syntax[edit | edit source]

Function RegisterForSingleLOSLost(Actor akViewer, ObjectReference akTarget) native

Parameters[edit | edit source]

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

Return Value[edit | edit source]

None

Examples[edit | edit source]

; Register for when the player looks away from the kettle
RegisterForSingleLOSLost(Game.GetPlayer(), Kettle)

Notes[edit | edit source]

  • See the notes for RegisterForLOS for limitations, speed considerations, and other notes.

See Also[edit | edit source]