IsWithinBuildableArea - ObjectReference

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: ObjectReference Script

Is this reference within the buildable area of the given Workshop Activator?

Syntax[edit | edit source]

bool Function IsWithinBuildableArea(ObjectReference akRef) native

Parameters[edit | edit source]

  • akRef: The Workshop Activator reference to check.

Return Value[edit | edit source]

True if akRef is a Workshop Activator and this reference is within its buildable area. False otherwise.

Examples[edit | edit source]

; check to see if I'm in MyWorkshop's buildable area.
bool binside = IsWithinBuildableArea( MyWorkshop )

Notes[edit | edit source]

  • If the cell and calling object reference are not loaded, this function will always return true.

See Also[edit | edit source]