IsWithinBuildableArea - ObjectReference

From Creation Kit
Jump to: navigation, search

Member of: ObjectReference Script

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

Syntax

bool Function IsWithinBuildableArea(ObjectReference akRef) native

Parameters

  • akRef: The Workshop Activator reference to check.

Return Value

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

Examples

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

Notes

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

See Also