OnAttachedToCell - ObjectReference

From the CreationKit Wiki
Jump to navigation Jump to search

Member of: ObjectReference Script

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

Syntax[edit | edit source]

Event OnAttachedToCell()

Parameters[edit | edit source]

None.

Examples[edit | edit source]

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

Notes[edit | edit source]

  • 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 OnCellLoad

See Also[edit | edit source]