How do I make text of the same object have seperate instance

0 favourites
  • 4 posts
From the Asset Store
OpenAI TTS
$10 USD
Text-to-Speech plugin.Allows your Construct 3 project to convert written text into spoken words
  • So, my problem is that my hit markers in my game show the amount of damage dealt to the mob, but when one changes text, they all change. Eg.

    (All of these numbers should be different and were different when they appeared until the next one appeared)

    I've set up the markers by using the following events and actions:

    (To make sure I have no text hanging off of the screen whilst still maintaining random marker locations)

    (How damage is calculated)

    (How I'm creating variety of damage)

    So basically, what I'm asking is how to make the hit markers keep the same damage that they were showing earlier, because they change every time I hit the Mob.

    Thanks,

    Collin

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't see any event where you set the text..

  • I don't see any event where you set the text..

    Oh my gosh when you said that I was like "Wait... Oh yea!" and realized the problem... Thanks

  • Developotato

    Why are you creating the Damage text off the layout and then immediately setting it to a random location in the same event?

    Why not just create it at the random location to begin with and just use one action instead of two?

    e.g. Create object Damage on layer 1 at (round(random(1,250)),round(random(80,300)))

    And if you follow that with Damage(Text)->Set text to Damage it should only set the text for that text object, but I'm guessing that's what you realized

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)