Difference between revisions of "OnCellDetach - ObjectReference"
Jump to navigation
Jump to search
imported>Jlundin (Created page with 'Category:Scripting Category:Papyrus Category:Events '''Member of:''' ObjectReference Script Event called when this reference's parent cell is detached. == Synta…') |
imported>DayDreamer (→Notes: warning added) |
||
Line 20: | Line 20: | ||
endEvent | endEvent | ||
</source> | </source> | ||
== Notes == | |||
{{WarningBox|This event is not reliably called between multiple intervening [[OnCellAttach - ObjectReference]]. This event may be called crossing cell boundaries even though very close to the player: as a follower, or as a cart driver.}} | |||
(For notes on the meaning of attachment, see the [[Talk:OnCellAttach_-_ObjectReference|talk]] page). | |||
== See Also == | == See Also == |
Revision as of 17:42, 23 September 2013
Member of: ObjectReference Script
Event called when this reference's parent cell is detached.
Syntax
Event OnCellDetach()
Parameters
None.
Examples
Event OnCellDetach()
Debug.Trace("Our parent cell has detached")
endEvent
Notes
This event is not reliably called between multiple intervening OnCellAttach - ObjectReference. This event may be called crossing cell boundaries even though very close to the player: as a follower, or as a cart driver.
(For notes on the meaning of attachment, see the talk page).