Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
I'm using list box and multiselect is on, how do i get all the indices of the selected items as this is more than 1, .selected count only returns the number of items selected and not the index
Make a For Loop:
For "" from 0 to list.count + 1 (i'm not sure why, but I had to add +1 to get the last index)
then, I'm not sure what you're doing with it, but I was just putting them into some text like this:
append List.SelectedTextAt(loopindex)
Develop games in your browser. Powerful, performant & highly capable.
spacedoubt, thanks, i guess it should be .itemcount not .count. Thanks once again
Make a For Loop: For "" from 0 to list.count + 1 (i'm not sure why, but I had to add +1 to get the last index) then, I'm not sure what you're doing with it, but I was just putting them into some text like this: append List.SelectedTextAt(loopindex)