Background for Skyrim SE
Member of the ObjectReference script

Description

Wiki Description

Event called when this reference moves from a detached cell to an attached one.

Documentation Comment

Event received when this object has moved to an attached cell from a detached one


Caveats

CK Wiki - Notes

  • This event will NOT ever fire if used in a Player Alias script. The only cell attachment-related event that the Player seems to trigger is ObjectReference.OnCellLoad()

Examples

Event OnAttachedToCell()
  Debug.Trace("We moved from a detached cell to an attached one")
endEvent

Auto-Generated Example

Scriptname MyCoolScript extends ObjectReference

event OnAttachedToCell()
    Debug.trace("Event received - OnAttachedToCell")
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.