Welcome Forums Get help What am I doing wrong?

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

    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
    Moderator

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

    #2528
    Vexzealtethiousiii
    Participant

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

    #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 7 years, 1 month ago by Aura.
    #2532
    Aura
    Moderator

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

    #2534
    Vexzealtethiousiii
    Participant

    thank you so much

    #2535
    Aura
    Moderator

    You’re welcome! 🙂

    #2527
    Vexzealtethiousiii
    Participant

    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)
  • The forum ‘Get help’ is closed to new topics and replies.