-
Notifications
You must be signed in to change notification settings - Fork 0
@PayGold
This trigger fires when a character pays to train, buy something, or hire them.
Fires on:
The following object references are explicitly available for this trigger:
{| border="1" cellspacing="4" cellpadding="4" | Name || Description |- | I || The character paying for the service. |- | SRC || The character receiving the gold.. |- | ARGO || The stack of gold used to pay (if any) (ie training). |}
The following arguments are set for this trigger. If an argument is marked as "In" then a value will be passed in to the trigger, if an argument is marked as "Out" then it can be set to a value to affect Sphere's behaviour:
{| border="1" cellspacing="4" cellpadding="4" | Argument || In/Out || Description |- | ARGN1 || IO || Gold to pay. |- | ARGN2 || IO || Payment type ( 0 = training, 1 = buying something, 2 = hiring the NPC) |}
The following return values are explicitly defined for this trigger:
{| border="1" cellspacing="4" cellpadding="4" | Return Value || Description |- | 1 || Stops the payment from occurring. |}
Category: Reference Compendium Category: Triggers