Skip to content

@ResourceGather

Jhobean edited this page Nov 9, 2025 · 1 revision

@ResourceGather

Description

This trigger fires when the gathering proccess is going to finish.

Fires on:

References

The following object references are explicitly available for this trigger:

{| border="1" cellspacing="4" cellpadding="4" | Name || Description |- | ARGO || The worldgem bit that represents the resource in the world. |- | I || The region resource being gathered. |- | SRC || The character gathering the resource. |}

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 |- | Local.ResourceID || IO || The id of the item being gathered. |- | ARGN1 || IO || The amount of the resource being gathered at this time. |- |}

Return Values

The following return values are explicitly defined for this trigger:

{| border="1" cellspacing="4" cellpadding="4" | Return Value || Description |- | 1 || Prevents the resource from being gathered, showing up the related messages. |}

Category: Reference Compendium Category: Triggers

Navigation

Clone this wiki locally