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
| Parameter | Description |
|---|---|
| BaseObject | Not directly used; Self is the character checked as author, Target is the craft object |
| CompareType | Equal: Self is the author; NotEqual: Self is not the author |
Examples
| Description | BaseObject | Command | CompareType |
|---|---|---|---|
| Did self craft the target object? | Self | IsObjectAuthor | Equal |
| Is the target object NOT crafted by self? | Self | IsObjectAuthor | NotEqual |
| Confirm self is the author of the crafted dish | Self | IsObjectAuthor | Equal |
Back to Command FinderSearch and filter all 491 Script Condition documents