IsRefInTransitionCell - ObjectReference

From Creation Kit
Jump to: navigation, search

Member of: ObjectReference Script

Is the given ref in the transformed bounds of this teleport ref's transition cell?


bool Function IsRefInTransitionCell(ObjectReference akRef) native


  • akRef: Reference whose position we are checking

Return Value

True if ref is inside the attached transition cell. False otherwise.


; check to see if player is inside the elevator
bool bready = ElevatorRef.IsRefInTransitionCell( pPlayer )

See Also