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
| Parameter | Description |
|---|---|
| BaseObject | The character whose hand-held object will be checked |
| CompareType | Equal (holding the tag) / NotEqual (not holding it; an empty hand counts as true) |
| UseHand | Left / Right / Default (both hands) |
| S1 | Object tag name to check (references Object.ObjectTags, e.g., Umbrella) |
Examples
| Description | BaseObject | Command | CompareType | UseHand | S1 |
|---|---|---|---|---|---|
| Check if either hand holds an Umbrella-tagged object | Self | IsHoldingObjectTag | Equal | Default | Umbrella |
| Check if not holding any Umbrella (empty hands => true) | Self | IsHoldingObjectTag | NotEqual | Default | Umbrella |
Back to Command FinderSearch and filter all 491 Script Condition documents