Skip to main content

Condition_HandCarriedObjectId

Description

Checks if the object currently held in the character's hand has the specified ObjectId. During a PutDown action, uses the hand selected in PutDownContext. If UseHand is not specified, checks both hands (right first, then left).

Parameters

ParameterDescription
BaseObjectThe character whose hand-carried object will be checked
CompareTypeComparison operator: Equal, NotEqual
S1The ObjectId to compare against

Examples

DescriptionBaseObjectCommandCompareTypeS1
Check if character holds a specific tray in either handSelfHandCarriedObjectIdEqualTray_Wooden_01
Check if character does not hold a specific itemTargetHandCarriedObjectIdNotEqualBox_Paper_01