Background for Skyrim SE
Member of the ActiveMagicEffect script
eventOnLostLOS(ActorakViewer, ObjectReferenceakTarget)

Description

Wiki Description

Event called when a viewer goes from seeing the target, to not seeing the target - if this active magic effect/alias/form is registered for it.

Documentation Comment

Lost LOS event, sent whenever the viewer first loses sight of the target (after registering)


Caveats

CK Wiki - Notes

  • Aliases and quests will automatically unregister for this event when the quest stops. Active magic effects will automatically unregister when they are removed.
  • This event is not relayed to any aliases or magic effects attached to the form.

Parameters

  1. ActorakViewer

    CK Wiki Description

    The Actor that was viewing the target until LOS was lost.

  2. ObjectReferenceakTarget

    CK Wiki Description

    The ObjectReference that the actor can no longer see.


Examples

No human-generated examples found for this event.

Auto-Generated Example

Scriptname MyCoolScript extends ActiveMagicEffect

event OnLostLOS(Actor akViewer, ObjectReference akTarget)
    Debug.trace("Event received - OnLostLOS: akViewer = " + akViewer + " akTarget = " + akTarget)
endEvent

Related Pages


Additional References

View this event’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.