Mod:Creation Kit/IsFurnitureMarkerInUse - ObjectReference

Member of: Mod:Creation Kit/ObjectReference Script

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

Syntax
bool Function IsFurnitureMarkerInUse(int aiMarker, bool abIgnoreReserved = false) native

Parameters

 * aiMarker: The marker to check, starts with 0.
 * abIgnoreReserved: Whether to ignore reserved markers or not.
 * Default: False

Return Value
If the marker on the furniture is in use. (Or reserved, if we aren't ignoring reservations)

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