Skip to toolbar

What am I doing wrong?

Welcome Forums Get help What am I doing wrong?

  • This topic has 7 replies, 2 voices, and was last updated 3 years ago by Aura. This post has been viewed 952 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?

    0
    #2526
    Aura
    Moderator

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

    0
    #2528

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

    0
    #2530
    Aura
    Moderator

    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 3 years ago by Aura.
    0
    #2532
    Aura
    Moderator

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

    0
    #2534

    thank you so much

    0
    #2535
    Aura
    Moderator

    You’re welcome! 🙂

    0
    #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

    0
Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.