I need help creating a Job Points Skill Shop (RPG Maker MV)

Discussion in 'Javascript/Plugin Support' started by MaxDracyre, Jun 15, 2019.

  1. Afaryz

    Afaryz Veteran Veteran

    Messages:
    57
    Likes Received:
    11
    First Language:
    German
    Primarily Uses:
    RMMV
    To the first you will need shopmenucore and more currency from yanfly and there you could go for skill books to purchase
    Or you use my second suggestion.

    To the second basically its my second idea for your right?

    You want to show skill learn inserted in skill or whats your question?
     
    #21
  2. MaxDracyre

    MaxDracyre Villager Member

    Messages:
    26
    Likes Received:
    0
    First Language:
    English[USA]
    Primarily Uses:
    RMMV
    Okay, I just got "SceneManager.push(Scene_LearnSkill)" to work. It takes me right to where the Learn Skills are. The problem is that I can't switch between party memeber's menus. I have to back out and change formation to do it for the next guy. Which is why I was trying to just take it to the Main Menu, where I can choose characters through the skill menu without backing out, BUT with ONLY the "Skills" option of the menu present. (Knowing how to hide Menu options would help me here.)
     
    #22
  3. Dennis

    Dennis Villager Member

    Messages:
    5
    Likes Received:
    0
    First Language:
    english
    I don't have the post new thread option under my searchbar.
     
    #23
  4. MaxDracyre

    MaxDracyre Villager Member

    Messages:
    26
    Likes Received:
    0
    First Language:
    English[USA]
    Primarily Uses:
    RMMV
    Probably because you're not in a place you can make one. This post is in the "Javascript/Plugin Support" section. (Which you can see at the top of this post.)
     
    #24
  5. Afaryz

    Afaryz Veteran Veteran

    Messages:
    57
    Likes Received:
    11
    First Language:
    German
    Primarily Uses:
    RMMV
    With this plugincommand, you can get access to a specific character.
    PLugincommands
    OpenLearnSkill actor x
    Opens Learn Skill menu for actor x.

    OpenLearnSkill party x
    Opens Learn Skill menu for party member x.


    SceneManager.push(Scene_LearnSkill) is the direct scriptcall you, you need first this.commandPersonal.bind(this) to select your character if i am not wrong. you can also use this in yanflys menu manager to have a learn skill direct in your menu command (you can disable it in the plugin parameters)

    I ask again, what do want to do? When you just need a shop i would recommend the choice command to use and set 4 choices (for 4 actors) and in every choice you go for the plugin commands i posted in the front

    I hope this helps
     
    #25
  6. MaxDracyre

    MaxDracyre Villager Member

    Messages:
    26
    Likes Received:
    0
    First Language:
    English[USA]
    Primarily Uses:
    RMMV
    From the beginning: My goal is to create an event. When accessed you say Yes or No. Saying Yes, results in you opening a Learn Skill menu where you can spend Job Points to purchase skills. In this menu I would like the only options available to select be the ones of the topic. (So no "Formation or Options or any of those) and to have the ability to seamlessly swap characters IN this menu, to buy skills for everyone, one at a time in an easy manor. I think we're approaching a solution, though. Having a direct access to the Learn Skill menu would have been perfect IF I could just press the side arrows or something to switch who's I'm looking at. Or even better: If I could select the character FIRST to access THEIR Learn Skills menu so I can see everyone in my part first..
     
    #26
  7. Afaryz

    Afaryz Veteran Veteran

    Messages:
    57
    Likes Received:
    11
    First Language:
    German
    Primarily Uses:
    RMMV
    Okay, i need to be home to check this.

    But i guess the eval " this.commandPersonal.bind(this) "let you choose a character and " SceneManager.push(Scene_LearnSkill) "after that will open it for that specific character. You tried this already?

    Have you the yanfly skill core installed? Because this gives you the oppurtunity to switch character via side arrows, but i am not sure :)
     
    #27
  8. MaxDracyre

    MaxDracyre Villager Member

    Messages:
    26
    Likes Received:
    0
    First Language:
    English[USA]
    Primarily Uses:
    RMMV
    I have that installed but it doesn't let me do that with arrows in the Learn Skill section. :/ Hmmm...
     
    #28
  9. Afaryz

    Afaryz Veteran Veteran

    Messages:
    57
    Likes Received:
    11
    First Language:
    German
    Primarily Uses:
    RMMV
    Sorry not arrows tho. use pageup and pagedown to change your character
     
    #29
  10. MaxDracyre

    MaxDracyre Villager Member

    Messages:
    26
    Likes Received:
    0
    First Language:
    English[USA]
    Primarily Uses:
    RMMV
    Is it possible to make that the arrows instead?
     
    #30
  11. Afaryz

    Afaryz Veteran Veteran

    Messages:
    57
    Likes Received:
    11
    First Language:
    German
    Primarily Uses:
    RMMV
    If you dont want to go into the code the best option should be to use a plugin to reassign the pagedown and pageup (on default there shouldnt be functions on it)

    You can use for example https://quxios.github.io/plugins/QInput (I really like that one) I think you will also need https://quxios.github.io/plugins/QPlus (above qinput)

    Hope this helps and its like you want it in your game :)
     
    #31
  12. MaxDracyre

    MaxDracyre Villager Member

    Messages:
    26
    Likes Received:
    0
    First Language:
    English[USA]
    Primarily Uses:
    RMMV
    What's the second one for? Also, in that plugin, what code should I use to make the Page Up and Page Down become the side arrow keys in the menu?

    (Edit): I figured it out! The arrow keys work now! :) Thanks for your help. If I need any more help I'll come back here.
     
    Last edited: Jun 16, 2019
    #32
  13. Afaryz

    Afaryz Veteran Veteran

    Messages:
    57
    Likes Received:
    11
    First Language:
    German
    Primarily Uses:
    RMMV
    No problem! Dont forget the forum rules after 30 days it will be necroposting so you have to start a new thread

    Regards afaryz
     
    #33
  14. MaxDracyre

    MaxDracyre Villager Member

    Messages:
    26
    Likes Received:
    0
    First Language:
    English[USA]
    Primarily Uses:
    RMMV
    Will do! Thanks!
     
    #34
  15. Afaryz

    Afaryz Veteran Veteran

    Messages:
    57
    Likes Received:
    11
    First Language:
    German
    Primarily Uses:
    RMMV
    And sorry qplus is for fast testing and its mpst necessary for the qplugins (they are not supportef anymore, but they are (most of them) just awesome!
     
    #35

Share This Page