IsWithinBuildableArea - ObjectReference

Revision as of 11:44, 9 January 2018 by imported>Kalevala
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: ObjectReference Script

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

SyntaxEdit

bool Function IsWithinBuildableArea(ObjectReference akRef) native

ParametersEdit

  • akRef: The Workshop Activator reference to check.

Return ValueEdit

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

ExamplesEdit

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

NotesEdit

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

See AlsoEdit