Background for Fallout 4
Member of the ObjectReference script
boolfunctionIsFurnitureMarkerInUse(intaiMarker, boolabIgnoreReserved=false)Native

Description

Wiki Description

Checks to see if the specified furniture marker on this object is in use, optionally ignoring reservations.

Documentation Comment

Is a particular marker on this furniture in use?


Caveats


Parameters

intaiMarker

CK Wiki Description

The marker to check, starts with 0.

boolabIgnoreReserved=false

CK Wiki Description

Whether to ignore reserved markers or not.

  • Default:False

Examples

; Is the first marker on the bed in use (or someone has reserved it)?
if Bed.IsFurnitureMarkerInUse(0)
  Debug.Trace("Bed marker 0 is being used")
endIf
; Is the first marker on the bed actually in use (ignoring reservations)?
if Bed.IsFurnitureMarkerInUse(0, true)
  Debug.Trace("Bed marker 0 is actually being used")
endIf

Auto-Generated Example

int myInt__aiMarker
bool myBool__abIgnoreReserved

bool returnedValue = myObjectReference__toCallFunctionOn.IsFurnitureMarkerInUse(myInt__aiMarker, myBool__abIgnoreReserved)

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.