Skip to main content

Condition_ObjectCreatePurpose

Description

Checks the creation purpose (EB1ObjectCreatePurpose) of the specified BaseObject. The creation purpose is compared against the value in S1 using CompareType.

Parameters

ParameterDescription
BaseObjectThe game object whose creation purpose will be checked
CompareTypeSupported compare types: Equal, NotEqual
S1EB1ObjectCreatePurpose value to compare against

Examples

DescriptionBaseObjectCommandCompareTypeS1
Check if object was created for craftingSelfObjectCreatePurposeEqualCrafted
Check if object was not created for purchaseTargetObjectCreatePurposeNotEqualBought