Loops > select result
#1

hi guys

just playing around with a loop
how would i select a certain result?

so looping through the data, if you get to the 3rd result, it selects that data, i'm using it with a list dialog, so it'd be like if result == listitem, what would the correct structure be?

or in other words
player selects listitem 2 out of 5 > loop through the data, it gets 5 matching results but selects the 2nd

thanks in advance
Reply
#2

The content provided lacks explanation, i don't understand what you are asking here.

The only hint i am getting is from listitem to which i assume you are referring to dialogs. Just store the listitem or the loop's index where you get result into a variable or PVar.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)