Skip to main content

Condition_IsObjectAuthor

Description

Checks whether the Self character is the author (original crafter) of the Target object. Self's unique name is compared against the author name stored on the Target game object. BaseObject is not directly used; Self and Target are always resolved from the script context.

Note

CompareType is not applied in the implementation; the function always compares Self's unique name to the object's author name and returns the boolean result directly.

Parameters

ParameterDescription
BaseObjectNot directly used; Self is the character checked as author, Target is the craft object
CompareTypeEqual: Self is the author; NotEqual: Self is not the author

Examples

DescriptionBaseObjectCommandCompareType
Did self craft the target object?SelfIsObjectAuthorEqual
Is the target object NOT crafted by self?SelfIsObjectAuthorNotEqual
Confirm self is the author of the crafted dishSelfIsObjectAuthorEqual