-
Notifications
You must be signed in to change notification settings - Fork 0
@Dye
This trigger fires when an item is dyed by a dye tub. It is also called in script color changes, dye tub color changes, @Create color assignment, and staff .xcolor command.
Fires on:
The following object references are explicitly available for this trigger:
{| border="1" cellspacing="4" cellpadding="4" | Name || Description |- | I || The item being dyed. |- | SRC || The character dyeing the item. |- | ARGO || The item originating the dye target. |}
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 || The hue value. |- | ARGN2 || IO || Sound effect (Default 023E). |}
The following return values are explicitly defined for this trigger:
{| border="1" cellspacing="4" cellpadding="4" | Return Value || Description |- | 1 || Stop internal dye sound. Hue changes made from script will take place. |}
Category: Reference Compendium Category: Triggers