IsFurnitureMarkerInUse - ObjectReference
Jump to navigation
Jump to search
Member of: ObjectReference Script
Checks to see if the specified furniture marker on this object is in use, optionally ignoring reservations.
Syntax[edit | edit source]
bool Function IsFurnitureMarkerInUse(int aiMarker, bool abIgnoreReserved = false) native
Parameters[edit | edit source]
- aiMarker: The marker to check, starts with 0.
- abIgnoreReserved: Whether to ignore reserved markers or not.
- Default: False
Return Value[edit | edit source]
If the marker on the furniture is in use. (Or reserved, if we aren't ignoring reservations)
Examples[edit | edit source]
; 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