I am in need of some help here. I have the basic beginnings of a shopping cart made from using an older array inventory example. However, after 3 days of testing it, I attempted to add it into an existing C3 project and was informed that the functions used in the .c3p are deprecated. When I attempted to change the functions to the newer usage I was unable to set array data as string, only as numbers. What am I doing wrong here? Even after changing the parameters to only numbers the array will not populate. Attached is the working .c3P file with the older function plugin.
https://www.dropbox.com/s/2raoh55asaxhd10/Array%20and%20Function%20Shopping%20Cart.c3p?dl=0
Any help at all would be awesome.
didn't look at the project, but did you set the Width/Height/Depth of the array in properties?
Develop games in your browser. Powerful, performant & highly capable.
I solved the issue. Had to set each variable to the array individually. I will post the solution shortly, in case anyone else runs into the same problem in the future.
For anyone interested, attached is an example of how to fix the above referenced function to array issue:
https://www.dropbox.com/s/x2hiqcb3yp2jwyx/Test_Store.c3p?dl=0