Updated Script Limit.md (markdown)
commited
commit
e57e261b30007a81eae2a2eb5ccae20fb3a918f1
... | ... | @@ -19,7 +19,7 @@ The limit is 4096. The value doesn't matter as much as how you decide to use the |
19 | 19 | * [Script Blocks](https://www.fancade.com/wiki/Script/Script%20Limit.md#script-blocks) |
20 | 20 | * [Wire Splits](https://www.fancade.com/wiki/Script/Script%20Limit.md#wire-splits) |
21 | 21 | * [Pointer Dereferencing](https://www.fancade.com/wiki/Script/Script%20Limit.md#pointer-dereferencing) |
22 | * [Optimized Script Usage](https://www.fancade.com/wiki/Script/Script%20Limit.md#optimized-script-usage) |
|
22 | * [Optimized Scripting](https://www.fancade.com/wiki/Script/Script%20Limit.md#optimized-script-usage2) |
|
23 | 23 | |
24 | 24 | ### Script Blocks |
25 | 25 | Every script block counts as 1 script towards the total limit. It does not matter which script block it is, as long as it is an inbuilt script block, it adds 1 to the counter. The attached image has 4 script blocks, thus the script consumption is 4/4096 or roughly 0.1%. |
... | ... | @@ -51,7 +51,7 @@ Known script blocks that output a pointer are all the Get Variable and List Elem |
51 | 51 | Known script blocks that accept a pointer as input are the Variable inputs of the List Element blocks, the Variable input of the Menu Item block and, increment and decrement block. |
52 | 52 | ![Pointer in](https://media.discordapp.net/attachments/852037487987392529/855655587852451840/Screenshot_20210619-091908_Fancade.png) |
53 | 53 | |
54 | ### Optmized Script Usage
|
|
54 | ### Optmized Scripting
|
|
55 | 55 | Fancade 1.11.3 introduced the "optimized scripting" feature, |
56 | 56 | now with this feature only the first instance of the custom block put into the world counts every script inside it towards the script limit, the additional instances of the block then contributes only 1 point each to the script limit. |
57 | 57 |