IsRefInTransitionCell - ObjectReference

From the Fallout4 CreationKit Wiki
Revision as of 14:05, 1 February 2016 by imported>Plplecuyer (moved IsRefInTransitionCell- ObjectReference to IsRefInTransitionCell - ObjectReference: Standardizing name)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: ObjectReference Script

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

Syntax[edit | edit source]

bool Function IsRefInTransitionCell(ObjectReference akRef) native

Parameters[edit | edit source]

  • akRef: Reference whose position we are checking

Return Value[edit | edit source]

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

Examples[edit | edit source]

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

See Also[edit | edit source]