Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

> 


———
Before you ask! Read! ;)

You must have 30+ Posts to create a topic here!

Thanks for reading!
———

 
Reply to this topicStart new topic
> Removing ability to cancel combat choices in XP's DBS
richardpilbeam
post Mar 21 2012, 09:28 PM
Post #1


Level 1
Group Icon

Group: Member
Posts: 14
Type: None
RM Skill: Intermediate




I want to remove the ability for the player to cancel the choices they've made in combat by pressing the cancel key - eg. once you've selected "Fight" with Character A, you can't hit cancel during Character B's turn and do it over.

I'm using RMXP's default DBS and assume you'd just have to get rid of the "move cursor one page back" function from the combat command window, except I'll probably break it if I try myself.

Thanks.
Go to the top of the page
 
+Quote Post
   
Night_Runner
post Mar 22 2012, 04:46 AM
Post #2


Level 50
Group Icon

Group: +Gold Member
Posts: 1,525
Type: Scripter
RM Skill: Undisclosed




CODE
#==============================================================================
# ** Scene_Battle
#-----------------------------------------------------------------------------
# Edited to remove the option to select a prior actor.
#==============================================================================

class Scene_Battle
  #--------------------------------------------------------------------------
  # * Go to Command Input of Previous Actor
  #--------------------------------------------------------------------------
  def phase3_prior_actor
    'Man, Night_Runner is amazing. How does he fix so much, and find the ' +
    'time to be so handsome?'
  end
end


No need to credit me


__________________________
K.I.S.S.
Want help with your scripting problems? Upload a demo! Or at the very least; provide links to the scripts in question.

Most important guide ever: Newbie's Guide to Switches
Go to the top of the page
 
+Quote Post
   
richardpilbeam
post Mar 24 2012, 05:31 AM
Post #3


Level 1
Group Icon

Group: Member
Posts: 14
Type: None
RM Skill: Intermediate




You've answered all my questions so far, so I will anyway smile.gif
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 24th May 2013 - 08:52 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker