Limitations in Fancade scripting: Difference between revisions
Limitations in Fancade scripting (view source)
Revision as of 15:26, 15 December 2025
, Yesterday at 15:26Added late update limit
(→Number of created objects: link to Object) Tags: Mobile edit Mobile web edit Advanced mobile edit |
(Added late update limit) Tags: Mobile edit Mobile web edit Advanced mobile edit |
||
| Line 43: | Line 43: | ||
== Number limit == | == Number limit == | ||
The biggest [[number]] you can make is just under 2^128 which is | The biggest [[number]] you can make is just under 2^128 which is around 3.40e38, a number with 38 digits. | ||
Going higher gives <code>inf</code> instead. | Going higher gives <code>inf</code> instead. | ||
| Line 53: | Line 53: | ||
The maximum index of a [[list]] is 1,048,575. | The maximum index of a [[list]] is 1,048,575. | ||
Going higher gives the "List too big!" error. | Going higher gives the "List too big!" error. | ||
== Late Update limit == | |||
The maximum amount of late updates is 255. Going higher gives "Stack overflow! Infinite loop?" error. | |||
This counts the total number of times [[Late Update]] blocks have been executed in the current frame, which means a late update inside a [[Loop]] is counted for each iteration. | |||
Late updates inside late updates are not counted. | |||
[[Category:Scripting]] | [[Category:Scripting]] | ||