playMaker

Author Topic: [Solved] Array maker - Max Rows  (Read 3108 times)

inyourbus

  • Playmaker Newbie
  • *
  • Posts: 43
  • In Your Legends
    • In Your Legends
[Solved] Array maker - Max Rows
« on: May 26, 2015, 11:22:43 AM »
What am i missing here.


I can't seem to find a way to set the max rows in an array.


The slider only appears in play mode, and obviously no persistence once play mode ends.


EDIT:
I am presuming that the max rows is literally just a display thing, and the rows aren't actually being capped? Its just the number of rows that being show in the inspector, correct?
« Last Edit: May 26, 2015, 11:43:29 AM by inyourbus »
One step at a time..

mweyna

  • Full Member
  • ***
  • Posts: 242
Re: [Solved] Array maker - Max Rows
« Reply #1 on: May 26, 2015, 11:29:25 AM »
To my knowledge there is no maximum row in arrays. If you want to cap things at say a fixed number, you'd get the count, store it as an INT, compare that INT to your maximum number, and then perform any additional actions based on the outcome of that. Otherwise you can just keep adding to an Array to your hearts content.

inyourbus

  • Playmaker Newbie
  • *
  • Posts: 43
  • In Your Legends
    • In Your Legends
Re: Array maker - Max Rows
« Reply #2 on: May 26, 2015, 11:30:21 AM »
Yes I was coming to the wrong conclusion on how the max rows slider works when in playmode.


Thanks for your help.
One step at a time..

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: [Solved] Array maker - Max Rows
« Reply #3 on: May 28, 2015, 03:54:15 AM »
Hi,

Yes, I need to rebuild the interface to make clearer that this is just to visualize in the inspector, so that you can have thousands of items, your inspector isn't a mile high and you can still view everything.

 It's basically a paging facility.

 Bye,

 Jean