Skip to content

@PayGold

Jhobean edited this page Nov 9, 2025 · 1 revision

@PayGold

Description

This trigger fires when a character pays to train, buy something, or hire them.

Fires on:

References

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). |}

Arguments

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) |}

Return Values

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

Navigation

Clone this wiki locally