What am I doing wrong?

Make Forums Get help What am I doing wrong?

This topic contains 6 replies, has 2 voices, and was last updated by  Aura 1 month, 1 week ago. This post has been viewed 171 times

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #2523

    so, the hero gets teleported to a dungeon
    and then he talks to a girl named Milly, she say’s she been trapped there and the only way they can escape is if they had a hammer to break the crack in the wall to escape
    I put if character has token “hammer” she would say “oh! you have the hammer! lets get out of here!” but she says it anyway even if I don’t get the token “hammer”. what am i doing wrong?

    #2526

    Aura
    Participant

    There are many possibilities of what you may have done wrong so that it doesn’t work… Can you post a link? 🙂

    #2528

    my post is awaiting moderation, but I posted everything in discord

    #2530

    Aura
    Participant

    Hey, Vexzeal. So to indent means to use the tab key at the beginning of the line…
    How Comprehensible said: You have to use 4 spaces after an ‘if’ and ‘else’ whereas the ‘if’ and ‘else’ have to be in the same line…
    Like this:

    if hero lacks token "example"
        hero says "I've got no clue what to do!"
    else
       hero says "Oh! Now I get it!"

    Or in your case:

    hero says "(Dialog)"
    if hero has token "hammer"
        hero says "(Dialog)"
        Actor walks to 13,0
    • This reply was modified 1 month, 1 week ago by  Aura.
    #2532

    Aura
    Participant

    sorry I meant the space key, not the tab key ^^

    #2534

    thank you so much

    #2535

    Aura
    Participant

    You’re welcome! 🙂

    #2527

    if you wanna go straight to the room, just go to second_floor_of_manor1. I didn’t give these floors names ^^; http://rpgplayground.com/the-game/?prj=59bc854634c81e00049f492c and then click on the purple haired girl

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.