Can I make a state disallow a certain item?

Discussion in 'RPG Maker MV' started by BillMakesStuff, Mar 30, 2018.

  1. BillMakesStuff

    BillMakesStuff Warper Member

    Messages:
    3
    Likes Received:
    0
    First Language:
    English
    Primarily Uses:
    RMMV
    Another noob question.
     
    #1
  2. DeviTheHuman

    DeviTheHuman (ノ◕ヮ◕)ノ*:・゚✧ Veteran

    Messages:
    510
    Likes Received:
    131
    Location:
    United States
    First Language:
    English
    Primarily Uses:
    RMMV
    As far as I can tell, the only innate option MV has is it lets you disable the use of spells and skills when a particular state is applied. On the state page, double click on a line on under Traits to bring up the mini menu. Under the skill tab, select seal skill and then the skill you want to disable from the drop down box.

    If you want to disable items and weapons, I believe you would need to use a plugin. Himeworks' Actor Battle Commands looks like it may be appropriate for this task, but you'll have to play around with it to be sure. You can find it here: http://himeworks.com/2015/12/actor-battle-commands/
     
    #2
  3. Tiamat-86

    Tiamat-86 old jrpg gamer Veteran

    Messages:
    267
    Likes Received:
    110
    First Language:
    english
    Primarily Uses:
    RMMV
    yanfly item requirments could also be used for this
     
    #3
  4. OmnislashXX

    OmnislashXX Veteran Veteran

    Messages:
    593
    Likes Received:
    3,638
    Location:
    Maryland
    First Language:
    English
    Primarily Uses:
    RMMV
    Except For Yanfly, it doesn't actually work. I should know, I have tried.
     
    #4
  5. Zarsla

    Zarsla Veteran Veteran

    Messages:
    685
    Likes Received:
    198
    First Language:
    English
    If you're using Yanfly Item Requirements make sure you have Item Core and use this notetag in the notetag box of any items that's going to be affected:
    <Custom Enable Requirement>
    condition = !battler.isStateAffected(x);
    </Custom Enable Requirement>
    Where x is the state that's going to disable the item
     
    #5
  6. OmnislashXX

    OmnislashXX Veteran Veteran

    Messages:
    593
    Likes Received:
    3,638
    Location:
    Maryland
    First Language:
    English
    Primarily Uses:
    RMMV
    This...actually doesn't solve my problem at all. I still can't use the item on a different person once it's been used.
     
    #6
  7. Zarsla

    Zarsla Veteran Veteran

    Messages:
    685
    Likes Received:
    198
    First Language:
    English
    Uh...@OmnislashXX,I was answering the OP question.
    Spefically, that as long as the user of an item is inflected with a state, they can not used said item.
    What are you trying to do?
     
    #7
  8. OmnislashXX

    OmnislashXX Veteran Veteran

    Messages:
    593
    Likes Received:
    3,638
    Location:
    Maryland
    First Language:
    English
    Primarily Uses:
    RMMV
    Last edited: Apr 1, 2018
    #8
  9. Zarsla

    Zarsla Veteran Veteran

    Messages:
    685
    Likes Received:
    198
    First Language:
    English
    @OmnislashXX
    Use the same code I posted earlier and replace "battler" with "user"
     
    #9
  10. OmnislashXX

    OmnislashXX Veteran Veteran

    Messages:
    593
    Likes Received:
    3,638
    Location:
    Maryland
    First Language:
    English
    Primarily Uses:
    RMMV
    Hmm. I'll try when I get the chance.

    Edit: Sorry to say, Zarsla, but the effect is still the same. My guys are all affected even though they don't have the state present on them.
     
    Last edited: Apr 2, 2018
    #10

Share This Page