How to create Functions: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 4: Line 4:


{{Editor steps|title=create a new Function through duplication
{{Editor steps|title=create a new Function through duplication
|Ensure the [[Function]] you wish to duplicate is [[How to add Functions for editing|present in the Function Values window]]
|Ensure the [[Function]] you wish to duplicate is [[How to add Functions for editing|present in the Function Values Table]]
|Select the [[Function]] which you want to duplicate from the list.
|Select the [[Function]] which you want to duplicate from the list.
|Select "Duplicate".
|Select "Duplicate".
Line 17: Line 17:
* Duplication of [[Function]]s which already exist is currently the only way to create additional [[Function]]s.
* Duplication of [[Function]]s which already exist is currently the only way to create additional [[Function]]s.
* A duplicated [[Function]] will have the same [[Function value]]s as the [[Function]] it was based on, unless it explicitly has that [[Function Value]] set.
* A duplicated [[Function]] will have the same [[Function value]]s as the [[Function]] it was based on, unless it explicitly has that [[Function Value]] set.
* If a [[Function]] is duplicated to create an additional [[Function]], and without setting a [[Function Value]] for the new [[Function]], a [[Function Value]] on the old [[Function]] is changed, the new [[Function]] will reflect the new value for the [[Function Value]]s set on the original [[Function]].
* If you duplicate a [[Function]] without setting its own [[Function Value]]s, changes to the original [[Function]]'s values are reflected in the duplicate.
<gallery widths=300px>
<gallery widths=300px>
File:function_color_reflected_in_duplicate.jpg|Changing an asset color for the Sports center [[function]] also changes that color for the Sports Center duplicate function.
File:function_color_reflected_in_duplicate.jpg|Changing an asset color for the Sports Center [[Function]] also changes that color for the Sports Center duplicate Function.
File:function_color_override_in_duplicate.jpg|However, the duplicate [[function]] can override the asset color, and no longer changes with the color change of the original Sports center function.
File:function_color_override_in_duplicate.jpg|However, the duplicate [[Function]] can override the asset color, and no longer changes with the color change of the original Sports Center Function.
</gallery>
</gallery>
|seealso=
|seealso=
* [[Function]]
* [[Function]]
* [[Function Override]]
* [[Function Values Table]]
* [[Function Value]]
|howtos=
|howtos=
* [[How to add Functions for editing]]
* [[How to add Functions for editing]]
* [[How to change Function Values for a Function]]
* [[How to change Function Values for a Function]]
|api=*[[Api session items functions]]
*[[Api session event editor functionoverride duplicate]]
}}
}}
[[Category:How-to's]]
[[Category:How-to's]]

Latest revision as of 12:10, 13 October 2026

Using the Function Values Table, it is possible to create new Functions based on existing Functions by duplicating an existing Function. The properties of the new Function can then be changed independently of the old Function.

Editor → Current Situation (Ribbon tab) → Buildings (Ribbon bar) → Edit Function Values (Dropdown)
How to create a new Function through duplication:
  1. Ensure the Function you wish to duplicate is present in the Function Values Table
  2. Select the Function which you want to duplicate from the list.
  3. Select "Duplicate".
  4. Find the newly created Function at the bottom of the list.

Notes

How-to's

See also

API Endpoints