How to create Functions: Difference between revisions
Jump to navigation
Jump to search
(Created page with "It's 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...") |
No edit summary |
||
(12 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Using the [[Function Values Table]], it is possible to create new [[Function]]s based on existing [[Function]]s by duplicating an existing [[Function]]. The properties of the new [[Function]] can then be changed independently of the old [[Function]]. | |||
{{editor location|function values}} | {{editor location|function values}} | ||
{{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 | {{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 Table]] | |||
|Select the [[Function]] which you want to duplicate from the list. | |||
|Select "Duplicate". | |||
|Find the newly created [[Function]] at the bottom of the list.}} | |||
<gallery widths=300px> | |||
File:function-values-location.jpg|The [[Function Values Table]] can be opened here. | |||
File:function-values-duplicate-function.jpg|Select a [[Function]] in the table and click on the ''duplicate'' button. | |||
File:Function-duplicated.jpg|The duplicated function indicated by blue and with a much higher [[ID]] number. | |||
</gallery> | |||
{{article end | |||
|notes= | |||
* 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. | |||
* 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]]. | |||
<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_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> | |||
|seealso= | |||
* [[Function]] | |||
* [[Function Values Table]] | |||
* [[Function Value]] | |||
|howtos= | |||
* [[How to add Functions for editing]] | |||
* [[How to change Function Values for a Function]] | |||
}} | |||
[[Category:How-to's]] |
Latest revision as of 14:54, 29 February 2024
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.
How to create a new Function through duplication:
- Ensure the Function you wish to duplicate is present in the Function Values Table
- Select the Function which you want to duplicate from the list.
- Select "Duplicate".
- Find the newly created Function at the bottom of the list.
The Function Values Table can be opened here.
Select a Function in the table and click on the duplicate button.
The duplicated function indicated by blue and with a much higher ID number.
Notes
- Duplication of Functions which already exist is currently the only way to create additional Functions.
- A duplicated Function will have the same Function values 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 Values set on the original Function.
Changing an asset color for the Sports center function also changes that color for the Sports Center duplicate function.
However, the duplicate function can override the asset color, and no longer changes with the color change of the original Sports center function.