I do not believe it is possible but you can work around it
Every time someone selects a list item you can detect which one has changed and set the Dialog Item's Text to what you want and recall it whenever you want
For example,
Dialog - Any Dialog Item is used by Player Any Player with event type Changed Value
General - If (Conditions) then do (Actions) else do (Actions)
If
(Selected list item of (Used dialog item) for (Triggering player)) == 1
Then
Dialog - Set (Used dialog item) text to "test" for (Triggering Player)
I have buttons, and if someone click it string is added to listbox, and button is grayed. But now i've added remove button, and want to remove selected item(pretty easy), and enable button. So i must create my own list, and store string positions?!
List items are stored as integers starting at 1. To find the list item that has been used it is the used list item of used dialog item. I use variables for the dialog item though
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Is it possible?
@ShadowDancer93: Go
I do not believe it is possible but you can work around it
Every time someone selects a list item you can detect which one has changed and set the Dialog Item's Text to what you want and recall it whenever you want
For example, Dialog - Any Dialog Item is used by Player Any Player with event type Changed Value
General - If (Conditions) then do (Actions) else do (Actions)
If
(Selected list item of (Used dialog item) for (Triggering player)) == 1
Then
Dialog - Set (Used dialog item) text to "test" for (Triggering Player)
Else
@Usernameisntworkingright: Go
So can you tell me, how list items are sorted?
I have buttons, and if someone click it string is added to listbox, and button is grayed. But now i've added remove button, and want to remove selected item(pretty easy), and enable button. So i must create my own list, and store string positions?!
Or can I at least get text of selected item?
@ShadowDancer93: Go
list items are stored as integers its based on which ones you add first(i think, i havent tested it yet)
Why do you need to get the text in the first place? If you need to remove it or just add another i dont see why
List items are stored as integers starting at 1. To find the list item that has been used it is the used list item of used dialog item. I use variables for the dialog item though