I tried spawning in a ParticleEmitter from the command bar and setting its Size to NumberSequence.new(3,7). Intellisense and the wiki both state that NumberSequences can be created with two parameters. The wiki says that you can use either 1 or 2 parameters, and if you use more than that it just treats .new(n0,n1,…,nn) as .new(nn). However, that seems to be happening for the two parameters as well. I was under the impression that it would create a NumberSequence with the start point at 3 and the last point at 7, but it seems to just be doing .new(7).
The wiki is wrong, NumberSequence was never intended to be constructed out of two numbers. The fact that you can pass more parameters to a function is just how Lua works in general, and the constructor isn’t specifically coded to check the number of parameters passed.
I can understand the wiki being wrong, but intellisense says there’s a constructor with 2 parameters:
