Limitations in Fancade scripting: Difference between revisions

Added late update limit
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 ~3.40e38.
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]]