Tent Event

Discussion in 'RPG Maker VX Ace' started by StateAlchemist, Nov 5, 2019.

  1. StateAlchemist

    StateAlchemist State Alchemist of the Amestris Member

    Messages:
    28
    Likes Received:
    3
    Location:
    Philippines
    First Language:
    english
    Primarily Uses:
    RMVXA
    I know some of you already ask this question but i have a problem when i made a tent event using common events. The tent is usable when in the world map or save point but not usable when towns i wan to happend is i want the items color in the inventory to be color gray that means you can`t use it and when u do a buzzer sound will play. I tried this but the item is still selectable when im in towns. i just want the item to be grayed that will tell the player is not usable when you in towns and will turn white when you are outside the world map or save point when that will tell the player is usable. There is a picture to make it clear.
     

    Attached Files:

    #1
  2. hiddenone

    hiddenone Lurker Extraordinaire Moderator

    Messages:
    2,001
    Likes Received:
    4,717
    First Language:
    english
    Primarily Uses:
    RMMV
    Game Mechanics Design isn't the place to ask for support help, it's meant for discussions on specific mechanics.

    Since your Primarily Uses says Ace, I'm moving this to Ace Support.

     
    #2
  3. Wyrelade

    Wyrelade Wyrelade - The one and only. Veteran

    Messages:
    61
    Likes Received:
    21
    Location:
    Finland
    First Language:
    Finland
    Primarily Uses:
    RMVXA
    If you can get your hands on Vicrors action conditions script you can add custom note on tent item

    <custom condition>
    !$game_system.save_disabled
    </custom condition>

    This would work.

    Edit: here is link to the script. https://victorenginescripts.wordpress.com/rpg-maker-vx-ace/action-conditions/

    I am pretty sure this is the easiest way for you to do this + it brings you more flexibility on your game making.
     
    Last edited: Nov 5, 2019
    #3
  4. gstv87

    gstv87 Veteran Veteran

    Messages:
    1,800
    Likes Received:
    829
    First Language:
    Spanish
    Primarily Uses:
    RMVXA
    make a state that locks the item's usage, and a state that removes that state and itself.
    upon entering a town, *add* the lock, and upon exiting the town *add* the reset.
    that way you don't have to check if the player has the state.... if it has it, the reset state will remove it, no questions asked.
     
    #4
  5. StateAlchemist

    StateAlchemist State Alchemist of the Amestris Member

    Messages:
    28
    Likes Received:
    3
    Location:
    Philippines
    First Language:
    english
    Primarily Uses:
    RMVXA
    is victor engine is compatible to other scipts?
     
    #5
  6. Wyrelade

    Wyrelade Wyrelade - The one and only. Veteran

    Messages:
    61
    Likes Received:
    21
    Location:
    Finland
    First Language:
    Finland
    Primarily Uses:
    RMVXA
    Should be, just give it a try. This basically doesn't do "that much" engines aren't usually something that breaks the game. Engines are used as a shortcut for certain other scripts by the same creator or so.
     
    #6
  7. StateAlchemist

    StateAlchemist State Alchemist of the Amestris Member

    Messages:
    28
    Likes Received:
    3
    Location:
    Philippines
    First Language:
    english
    Primarily Uses:
    RMVXA
    ok i`ll gave a try then i tell here what happends. thanks every i`ll be right back hehe
     
    #7
  8. StateAlchemist

    StateAlchemist State Alchemist of the Amestris Member

    Messages:
    28
    Likes Received:
    3
    Location:
    Philippines
    First Language:
    english
    Primarily Uses:
    RMVXA
    i tried this victor scipt you told me Wyrelade but i can`t seem to understand how to use it. i`m not good at scripts so i`m having a hard time to understand this. what should i do to make the event work as i mentioned here in this thread?
     
    #8
  9. Wyrelade

    Wyrelade Wyrelade - The one and only. Veteran

    Messages:
    61
    Likes Received:
    21
    Location:
    Finland
    First Language:
    Finland
    Primarily Uses:
    RMVXA
    I gave you the line of command you need to write on the comment box of tent item in your item database.
     
    #9

Share This Page