Skip to main content

Execute_GiveTipFromDialog

Description

Gives a tip directly to the Self employee character through a friendly dialog interaction with the Target customer. The tip amount is randomly selected within the range defined in the HouseholdBiz data asset TipConfig. A "tip success" buff is applied to the employee, and a wall notification is sent to the household monitoring component.

Note

Self (employee) and Target (customer) are resolved as EB1BaseObject::Self and EB1BaseObject::Target, not via BaseObject. The probability of triggering this Execute is controlled by the calling script's Prob field, not by this function.

Parameters

ParameterDescription
BaseObjectSelf is the employee receiving the tip; Target is the customer giving the tip

Examples

DescriptionBaseObjectCommand
Employee receives a tip from a satisfied customerSelfGiveTipFromDialog
Friendly conversation results in a direct tip to staffSelfGiveTipFromDialog