Inserting Combo Keys in Skills [XP] [ MUST SEE!! ]

iceflux

Warper
Member
Joined
Aug 22, 2015
Messages
1
Reaction score
0
First Language
Filipino
Primarily Uses
Greetings to all RM PRO and GURUS here. I hope you will help me in this problem. So far I want to implement key combo while in scene battle. Here's the idea, when I choose a special skill a Combo keys will pop up on the screen, if you fail to finish or choose a wrong key then the actor will skip his/her turn but if he finish it then the skill will be execute.


Im stuck here in this lines

in Scene_Battle 4

  #--------------------------------------------------------------------------  # * Make Skill Action Results  #--------------------------------------------------------------------------  def make_skill_action_result    # Get skill    @skill = $data_skills[@active_battler.current_action.skill_id]  ###########################################################         if @active_battler.current_action.skill_id == 88       $scene = Chain_Commands.new(27)    end    ###########################################################       # If not a forcing action    unless @active_battler.current_action.forcing      # If unable to use due to SP running out      unless @active_battler.skill_can_use?(@skill.id)        # Clear battler being forced into action        $game_temp.forcing_battler = nil        # Shift to step 1        @phase4_step = 1        return      end    end    # Use up SP    @active_battler.sp -= @skill.sp_cost    # Refresh status window    @status_window.refresh    # Show skill name on help window    @help_window.set_text(@skill.name, 1)    # Set animation ID    @animation1_id = @skill.animation1_id    @animation2_id = @skill.animation2_id    # Set command event ID    @common_event_id = @skill.common_event_id    # Set target battlers    set_target_battlers(@skill.scope)    # Apply skill effect    for target in @target_battlers      target.skill_effect(@active_battler, @skill)    end  end  #--------------------------------------------------------------------------in the ############## i put the call in MOG Combo script $scene = Chain_Commands.new(27) then it runs but after the combo scene it came back to battle map. I also check for the $scene in Scene_battle 1 and remove the scene != self but no luck.

This is the sample screenshot that I want to implement, in the lower left. *game created by MOG



this is the Chain Command that I am using http://www.atelier-rgss.com/RGSS/System/XP_SYS11.html

here's my file of the sample Project: http://www.mediafire.com/download/ajxsx8o8k6xatbh/mogchaintobattlescene.rar

I think of when the graphic.freeze then the Chain Command will execute then after the chain command it will go back in the battle_scene 4  . I hope you would help me and thanks in advance
 
Last edited by a moderator:

MobiusXVI

Game Maker
Veteran
Joined
Mar 20, 2013
Messages
383
Reaction score
91
First Language
English
Primarily Uses
Check out the "Next_Command" and "Wrong_Command" methods in MOG Combo Script. They're calling "$scene = Scene_Map.new" which is taking you back to the map. If MOG has an example game that does what you want, I'd recommend checking out what's different in it.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,078
Members
137,580
Latest member
Snavi
Top