lionz's Recent Forum Activity

  • My example has several lines in one cell like how you described. For tokenat you just need the text so that will be the array position. Work out how you are changing the array position, array.at(x,y) is what you need. In my example I pull the row from an instance variable on the NPC. I don't see why that would be different.

    tokenat(text,index,separator) is what you need. The index to move across the string is the chatpos variable. The separator is the underscore. You should have all you need really. For choices I hardcoded it to certain rows, so you can do that with list item, if list item 1 is picked then use this row of the array, i.e. set a variable to that row for array.at(var).

    Look at how I change the Y variable based on text object clicked, you would do that with list item instead, that's probably the only change from my example. If you don't want to set it on the NPC (I was doing this to track it better for bugs), you set the dialogue directly in the list object instead of the NPC.

  • I don't understand the question because I didn't use your list object. Try and understand my example, see if you can relate it to the list.

  • Where are the event for saving the avatar? Whatever you are saving try using a global variable. If you can't fix it, better share the file so we can take a look.

  • If you saved the local storage data in the settings layout, then when you check them on start of game layout really it should pull the saved data, assuming you mean that data shown like 'name' 'password'. So you are not saving in settings?

  • So is it 1 or 3? Its up to you to add the conditions that the actions must meet. If it's 1 then add 1 condition. Also for future careful responding to your own post as it gets removed from unanswered topics and people may miss it.

  • When you say the game is loaded before the settings, aren't the settings part of the game? Why are they separate? Please add screenshots, show us what you mean.

  • You replace NPC.dialogue with array.at(0,global_number), the first element in the tokenat() is the text you want to use.

  • You have to press the arrow on the left to open the event block. If you see the arrows it is a sign that there are sub events below but the block was closed.

  • FYI you can check variables in debug preview, you will see the boolean changing between 0 and 1.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Toggle sets it to the opposite of what it currently is. If it's true it changes to false. If it's false it changes to true, each time you click the button.

  • Did you check what I said? Construct will only read your events if the event sheet is linked to the layout, did you try this? If you do not have an event sheet linked then it doesn't matter what you put in it.

  • Nice yes destroying it would also work.

lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 73 followers

Trophy Case

  • 11-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

24/44
How to earn trophies