2016-07-14 01:01 PM
2016-07-16 11:28 AM
2016-07-18 07:56 AM
2016-07-18 07:48 PM
2016-07-19 09:57 AM
sinceV6 wrote:
Hi.
The polyline script! Great! Glad somebody is still using it. I thought it had diluted over time. Spawned some interesting objects.
Anyway, couldn't find all the code and modifications from the screenshots, but the basic problem here is that you are trying to use the values from the "moxe" array and you are not giving it new values, so the object just works with the five values that the array has. You can see in the master script that arrays grow as new points are created. You need to do this for every array/parameter, so that if you use it in a loop that has 100 iterations because there are 100 points you won't run out of values. It stops at line 85 of the 2D script, and that's where you are creating new points from the "moxe" values. It is asking for value number 6 of the "moxe" array, but you only have 5 values there.
Hope that helps.
Best regards.
2016-07-19 04:59 PM
nGhost wrote:Sure. Just read the master script. You'll see that there is a part where arrays grow as new points are added to the polyline. You need to do this for your parameters so you don't run out of values. If you manually add new values to the parameters you'll run out eventually, so this has to be done automatically in the script.
Thank you for answear, can you say, how to concretely fix?
I tried add more value on "moxe", can you help me?
2016-07-22 01:43 PM