Skip to main content

Condition_HandCarriedObjectType

Description

Checks if the object currently held in the character's hand matches the specified carriable object type. During a PutDown action, uses the hand selected in PutDownContext; otherwise uses UseHand to determine the hand. If UseHand is not Left or Right, checks both hands (returns true if either hand matches).

Parameters

ParameterDescription
BaseObjectThe character whose hand-carried object will be checked
CompareTypeComparison operator: Equal, NotEqual
S1EB1CarriableObjectType name to compare against
UseHandHand selector: Left checks left hand, Right checks right hand; otherwise checks both hands (default)

Examples

DescriptionBaseObjectCommandCompareTypeS1UseHand
Check if right-hand object type is TraySelfHandCarriedObjectTypeEqualTrayRight
Check if left-hand object type is not BoxSelfHandCarriedObjectTypeNotEqualBoxLeft
Check if either hand object type is CupSelfHandCarriedObjectTypeEqualCup