Hide Item command in a state?

Discussion in 'RPG Maker MV' started by derletsplayende, Aug 2, 2016.

    Tags:
  1. derletsplayende

    derletsplayende Villager Member

    Messages:
    10
    Likes Received:
    0
    First Language:
    german/english
    hi 
    is there any script which allows you to hide the item button in combat in a state? 


    i found some for vx ace but im using mv 
    if yes how do i do it and what plugin do i need thx 
     
    Last edited by a moderator: Aug 2, 2016
    #1
  2. Maidlyn

    Maidlyn Secretly a Mermaid Veteran

    Messages:
    354
    Likes Received:
    114
    Location:
    USA
    First Language:
    English
    Primarily Uses:
    RMMV
    You can't necessarily assume that the process is going to require a plugin. However, you need to be more clear and specify what you mean by "hiding the item button in a state" to make sure that the community can help you. :)
     
    #2
  3. Sketchward

    Sketchward Veteran Veteran

    Messages:
    55
    Likes Received:
    3
    Location:
    Canada
    First Language:
    English
    Best solution I can think of would be editing your project's core script. In the section where it draws the battle scene, put a qualifier (maybe an if/else branch) that checks if the selected player has the status effect. If they do, disable the Items menu. Else, run script as normal. I'm too lazy to look up all the script calls right now, but there's a thread for them in the top of this part of the forum (MV).
     
    #3
  4. derletsplayende

    derletsplayende Villager Member

    Messages:
    10
    Likes Received:
    0
    First Language:
    german/english
    basically what im looking for is 
    player A transforms < i use a yanfly script for that means only the sideview battler and the skills change lets call the state B 

    player A is now in B state and ofc in state B he should not be allowed to use the transform skill again and he should not be allowed to use items either but only in state B 

    my problem is now that i dont wanna perma remove them i want that my transform skilltype (same as magic as example) and items are gone but only as long as im in this state B so i would need something that brings them back as soon i lose state B again

    idk if thats even possible D:
     
    #4
  5. Dalamar

    Dalamar Veteran Veteran

    Messages:
    370
    Likes Received:
    61
    First Language:
    English
    Primarily Uses:
    RMMV
  6. derletsplayende

    derletsplayende Villager Member

    Messages:
    10
    Likes Received:
    0
    First Language:
    german/english
    Last edited by a moderator: Aug 3, 2016
    #6
  7. Dalamar

    Dalamar Veteran Veteran

    Messages:
    370
    Likes Received:
    61
    First Language:
    English
    Primarily Uses:
    RMMV
    If I am reading the help file in the plugin correctly, you need to add the following notetag to any actor in the database:


    <Restrict Items>


    !State: x


    </Restrict Items>
     
    #7
  8. derletsplayende

    derletsplayende Villager Member

    Messages:
    10
    Likes Received:
    0
    First Language:
    german/english
    thank you very very much i tried around with that and the right one is 
     


    <Restrict Items>


    !State: x


    </Restrict>
     
    #8

Share This Page