Dr_Nomz
Member
I was playing around with DS_lists and figured out how to use them for my dialogue system, but now I don't know how to control the behavior of it.
Basically the way it works is I send the ds_list information to a script which displays the text on screen based on the ds_list's number, so if ds_list_find_value returns a 2, it'll appear 200 pixels from the bottom.
Problem is when I click on it it's supposed to delete the option and move all the other options down, but it's not doing that.
Instead it's sending ALL the options up and only removing them when I click on one at the top, and it's not deleting the right ones.
Here are my project files, relevant scripts and object are clearly marked:
https://www.mediafire.com/file/7dmozrcvzc7ia3f/dialogue_test_1_3.gmz/file
Note that option 0 is using different code because it has different behavior, so just ignore that one.
Basically the way it works is I send the ds_list information to a script which displays the text on screen based on the ds_list's number, so if ds_list_find_value returns a 2, it'll appear 200 pixels from the bottom.
Problem is when I click on it it's supposed to delete the option and move all the other options down, but it's not doing that.
Instead it's sending ALL the options up and only removing them when I click on one at the top, and it's not deleting the right ones.
Here are my project files, relevant scripts and object are clearly marked:
https://www.mediafire.com/file/7dmozrcvzc7ia3f/dialogue_test_1_3.gmz/file
Note that option 0 is using different code because it has different behavior, so just ignore that one.
Last edited: