How do I read a value pushed front on Z or Y on an Array?

0 favourites
  • 2 posts
From the Asset Store
Array Editor
$0.25 USD
95% off
Supports 1D, 2D, 3D arrays. Import and export arrays in JSON format
  • Seems like it should work the same as the standard X, and I saw how arrays work so I don't understand?

    I'm trying to retrieve data saved to specific locations on my array but all I want it to do is read the next set of data pushed:

    on enter: set text to <ARRAYDATA.Front> but how can I read the Z or Y data as well? I want to add those values to the text that have been saved but just the most recent pushed ones. Since I can push to Z and Y I assumed there would be a way to read the last ones pushed onto those axis aswell?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hmm, I guess I have to cycle through the array and just keep using the first element of the axis I want shown? I wonder why you can directly show the .Front with only the X axis but not the others without using the For Loop function for the array.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)