Difference between revisions of "OnCellAttach - ObjectReference"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Egocarib
((link to talk page))
imported>DayDreamer
(→‎Notes: warning added)
Line 4: Line 4:
'''Member of:''' [[ObjectReference Script]]
'''Member of:''' [[ObjectReference Script]]


Event called when this reference's parent cell is attached.<br>
Event called when this reference's parent cell is attached.
(For notes on the meaning of attachment, see the [[Talk:OnCellAttach_-_ObjectReference|talk]] page).


== Syntax ==
== Syntax ==
Line 21: Line 20:
endEvent
endEvent
</source>
</source>
== Notes ==
{{WarningBox|This event may be called multiple times without any intervening [[OnCellDetach - ObjectReference]]. It does seem to be reliably called before [[OnCellLoad - ObjectReference]].}}
(For notes on the meaning of attachment, see the [[Talk:OnCellAttach_-_ObjectReference|talk]] page).


== See Also ==
== See Also ==

Revision as of 17:36, 23 September 2013

Member of: ObjectReference Script

Event called when this reference's parent cell is attached.

Syntax

Event OnCellAttach()

Parameters

None.

Examples

Event OnCellAttach()
  Debug.Trace("Our parent cell has attached")
endEvent

Notes

Achtung.png This event may be called multiple times without any intervening OnCellDetach - ObjectReference. It does seem to be reliably called before OnCellLoad - ObjectReference.

(For notes on the meaning of attachment, see the talk page).

See Also