Difference between revisions of "Talk:OnAttachedToCell - ObjectReference"

no edit summary
imported>HawkFest
imported>Rasikko
 
Line 37: Line 37:
::'''EDIT 2''' - it seems that '''OnCellAttach would be the way to go for exterior cells : OnAttachdToCell does NOT happen every time the player gets into a cell where however an OnCellAttach event fires up.''' Like the page says, this event fires when the related object is ''moved'' from one other cell to the current one.
::'''EDIT 2''' - it seems that '''OnCellAttach would be the way to go for exterior cells : OnAttachdToCell does NOT happen every time the player gets into a cell where however an OnCellAttach event fires up.''' Like the page says, this event fires when the related object is ''moved'' from one other cell to the current one.
::--[[User:HawkFest|HawkFest]] ([[User talk:HawkFest|talk]]) 21:49, 14 December 2012 (EST)
::--[[User:HawkFest|HawkFest]] ([[User talk:HawkFest|talk]]) 21:49, 14 December 2012 (EST)
:::: This driven some people bonkers, but once you mess with he events long enough, their inner workings becomes easy to understand -
Player goes into cell containing Ref -> OnCellAttach runs -> Ref Moves to new cell with player -> OnAttachedCell runs -> Ref moves back -> OnDetachedFromCell -> Player leaves ref's parent cell -> OnCellDetach.
--[[User:Rasikko|Rasikko]] ([[User talk:Rasikko|talk]]) 2021-10-14T15:27:18 (EDT)
Anonymous user