Mod:Creation Kit/IsRefInTransitionCell - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

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

Syntax
bool Function IsRefInTransitionCell(ObjectReference akRef) native

Parameters

 * akRef: Reference whose position we are checking

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

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