IsRefInTransitionCell - ObjectReference

Revision as of 15:05, 1 February 2016 by imported>Plplecuyer (moved IsRefInTransitionCell- ObjectReference to IsRefInTransitionCell - ObjectReference: Standardizing name)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: ObjectReference Script

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

SyntaxEdit

bool Function IsRefInTransitionCell(ObjectReference akRef) native

ParametersEdit

  • akRef: Reference whose position we are checking

Return ValueEdit

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

ExamplesEdit

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

See AlsoEdit