Skip to main content

Condition_HasObjectTag

Description

Checks whether an object has the specified object tag based on the given condition. By default, this command checks the object tag on the BaseObject. If S2 is set to CheckParent, the condition checks the object tag on the parent of the BaseObject.

Parameters

ParameterDescription
BaseObjectThe object used as the base for the object tag check
CompareTypeType of comparison operation (Equal / NotEqual)
S1Object tag to check
S2Optional check mode. If set to CheckParent, checks the parent
object of the BaseObject

Examples

DescriptionBaseObjectCommandCompareTypeS1S2
Checks whether the base object is a computerSelfHasObjectTagEqualCreate_Computer
Checks whether the parent of the self object is a FleaMarketStallSelfHasObjectTagEqualFleaMarketStallCheckParent