Difference between revisions of "@HouseDesignCommitItem"

From SphereWiki
Jump to: navigation, search
(Created page with "==Description== X branch only. This triggers fires with each commited item when using AOS House Designer tool. Fires on: * Items ==References== There is no references...")
 
(Blanked the page)
Line 1: Line 1:
==Description==
 
X branch only. This triggers fires with each commited item when using AOS House Designer tool.
 
  
 
Fires on:
 
* [[Items]]
 
 
 
==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:
 
 
{| border="1" cellspacing="4" cellpadding="4"
 
| '''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:
 
 
{| border="1" cellspacing="4" cellpadding="4"
 
| '''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.
 
|}
 
 
 
[[Category: Reference Compendium]]
 
[[Category: Triggers]]
 

Revision as of 12:00, 30 April 2022