@HouseDesignCommitItem
From SphereWiki
Description
X branch only. This triggers fires with each commited item when using AOS House Designer tool.
Fires on:
References
There is no references in this trigger.
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:
Argument | In/Out | Description |
local.ID | I | ID of the item. |
local.p.x | I | x location |
local.p.y | I | y location |
local.p.z | I | z location |
local.MAXZ | I | Returns the value of the top placed item. |
local.visible | I | 0 or 1 (non-visible items are things like doors and signs) |
Return Values
The following return values are explicitly defined for this trigger:
Return Value | Description |
0 | Will remove this item from the commit. If not return false a local.MaxZ will check the P.Z value of the item and update it if it's higher than the old one. |