-
Notifications
You must be signed in to change notification settings - Fork 0
@HouseDesignCommit
This trigger fires when a player attempts to commit a new house design.
Fires on:
The following object references are explicitly available for this trigger:
{| border="1" cellspacing="4" cellpadding="4" | Name || Description |- | ARGO || The custom multi being designed. |- | I || The player committing the design. |- | SRC || The player committing the design. |}
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 || I || The total number of components in the current house design. |- | ARGN2 || I || The total number of components in the house design being committed. |- | ARGN3 || I || The revision number of the house design being committed. |- | LOCAL.FIXTURES.NEW || I || The total number of fixtures in the house design being committed. |- | LOCAL.FIXTURES.OLD || I || The total number of fixtures in the current house design. |- | LOCAL.MAXZ || I || The value of the top placed item |}
The following return values are explicitly defined for this trigger:
{| border="1" cellspacing="4" cellpadding="4" | Return Value || Description |- | 1 || Prevents the house design from being committed. |}
Category: Reference Compendium Category: Triggers