-
2 Attachment(s)
Little array help
I'm looking to move from INI set up to Arrays, so I've set up a little test with saving and loading from counters, but for some reason it is not working correctly, could someone point me the correct direction? (The application is VERY simple, but I added comments for each set of events).
thanks in advance
-
Re: Little array help
1. you're trying to save numbers into a text array, which won't work unless they're converted to strings first... but you can just go into the array properties and change the array type to "Number"
2. you don't need fastloops for the way you're doing it, and infact your fastloop setup is incorrect (you could basically just have the Load and Set counter actions in the Press Enter event)
3. the biggest issue, and the reason why it isn't working, is that you aren't actually writing data to the array, you're just saving a blank one
-
2 Attachment(s)
Re: Little array help
Hi xyzzy,
thanks very much for your help. When I was messing with arrays yesterday, I failed to save because of my first because of the string/text property you mentioned in the item 1. I tweaked the events and added comments and forgot to add the "always write value to X,Y", fixed now and it works! :)
In the item 2, you're saying that it is better to have a start of frame and load all at once?
thanks again.