lmillzdarxider's Recent Forum Activity

  • ufile.io/zuowq

    Here it is. Thank you. At 4am that didn't really cross my mind.

  • I am running into a strange issue using the dictionary object in my licensed version r262 of Construct 2. I am not sure if this is the right place to post this so I apologize in advance.

    I have a text file that will include the identification as well as a "tooltip" that goes with it. I brought the text file into the dictionary via AJAX using "tokenat". If I look in the debug panel, the dictionary is being created correctly.

    I have a textbox with a default text value but I want certain sprites (with "identification" instance variables) to be hovered over thus changing the text with a mouse-over event after comparing the variable to find which associated tooltip it requires.

    The problem is, the one with the key index of 0 works perfectly but anything else returns 0 (which according to documentation means that the key was not found). I have quadruple checked to make sure that the instance variable matches with that of the key that it is supposed to call.

    I created an example capx from scratch to show that the issue is able to be replicated and that nothing else is added to chance any kind of conflict. It is not allowing me to attach the example capx to this thread but if I need to I can send it to someone directly. I have also tried using arrays instead of the dictionary object but the issue persisted. I did notice that adding the 2 example keys and values in manually via actions caused it to behave correctly but as I will have a large number of tooltips, I would much rather store them in a text file if possible. I am just not sure as to why the issue comes up if the resulting dictionary is identical either way.

    Any help would be greatly appreciated. I have been stumped on this for about 2 hours now and I am running out of hair to pull out.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I would like to be able to review the information in this thread but all of the attachments seem to be missing. Were they removed or timed out or something?

lmillzdarxider's avatar

lmillzdarxider

Member since 1 Oct, 2017

None one is following lmillzdarxider yet!

Trophy Case

  • 7-Year Club
  • Email Verified

Progress

8/44
How to earn trophies