Skip to main content

Condition_IsHoldingObjectTag

Description

Checks whether the BaseObject character is holding an object with the specified object tag in hand. Unlike HandCarriedObjectTag, an empty hand is treated as a definite "not holding" result, so CompareType NotEqual returns true on an empty hand (usable as a "not holding" visibility/enable gate). By default (UseHand=Default), checks both hands (right first, then left).

Parameters

ParameterDescription
BaseObjectThe character whose hand-held object will be checked
CompareTypeEqual (holding the tag) / NotEqual (not holding it; an empty hand counts as true)
UseHandLeft / Right / Default (both hands)
S1Object tag name to check (references Object.ObjectTags, e.g., Umbrella)

Examples

DescriptionBaseObjectCommandCompareTypeUseHandS1
Check if either hand holds an Umbrella-tagged objectSelfIsHoldingObjectTagEqualDefaultUmbrella
Check if not holding any Umbrella (empty hands => true)SelfIsHoldingObjectTagNotEqualDefaultUmbrella