Skip to main content

Condition_HandCarriedObjectTag

Description

Checks if the object currently held in the character's hand has the specified object tag. During a PutDown action, uses the hand selected in PutDownContext. By default (UseHand=Default), checks both hands (right first, then left).

Parameters

ParameterDescription
BaseObjectThe character whose hand-carried object will be checked
CompareTypeComparison operator: Equal, NotEqual
S1Object tag name to check (e.g., Food_Ingredient, Tool_Cleaning)

Examples

DescriptionBaseObjectCommandCompareTypeS1
Check if either hand's object has Food_Ingredient tagSelfHandCarriedObjectTagEqualFood_Ingredient
Check if right-hand object does not have Tool_Cleaning tagSelfHandCarriedObjectTagNotEqualTool_Cleaning