lionz's Forum Posts

  • great! :)

  • You do not have permission to view this post

  • 'Set item' creates the key, 'Get item' tries to retrieve the key value.

  • On the spawn actions if you set the width to something random, then on an action under that set the height to object.width it should work.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • If it's happening 100% of the time it should be an easy fix, just share the project if you want assistance.

  • It's probably not going to be the event shown as that's a one time trigger of a button click and you are not setting any variables either, so must be something else.

  • You could have logic that tries to go between two different layouts constantly or keeps refreshing the layout. Or if you messed with timescale then it's stuck at 0. If it's not that I dunno, share the project.

  • It's just set variable to 'LayoutName'

  • Nope, you pass through a parameter which triggers the 'for' loop you want to use. So pass through 'fr' and then say if param=fr run that loop, if param=en run different loop.

  • Get rid of the group variable conditions and use global variables for each character, set text1 to char1 variable and text2 to char2 variable, something like this.

  • Please share the logic you used to add it to one location and to work out how the player is able to move to next square, I guess it is best to build on that.

  • Because you keep changing character variable and the above groups variables are true so it sets all the text to same name.

  • 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.