Features to comment out and uncomment the RMMV event commands

Would you like this feature?


  • Total voters
    16

Alexandr_7

Veteran
Veteran
Joined
Apr 22, 2016
Messages
106
Reaction score
29
First Language
Russian
Primarily Uses
Features to comment out and uncomment the RMMV event commands
  • Add the item "comment out" the selected event commands to the menu.
  • Add the menu item "uncomment" the selected event commands.

This feature is great because of the following:
  • Sometimes there is a case where you need to comment out a piece of code and not delete it. In any programming language there is such an opportunity. In RMMV, the script is written with the help of event commands and this can not be done. And if you need to comment out the script, you either need to delete the commands and then reinstall them or use the GOTO tags that are not effective.
    Иногда бывают случае когда нужно закомментировать кусок кода а не удалять его. В любых языках программирования есть такая возможность. В RMMV скрипт пишется с помощью комманд событий и этого сделать нельзя. А если надо закомментировать скрипт то либо нужно удалять команды а потом заново их ставить либо использховать метки GOTO что не эфективо.
 
Last edited:

Alexandr_7

Veteran
Veteran
Joined
Apr 22, 2016
Messages
106
Reaction score
29
First Language
Russian
Primarily Uses
Maybe someone will say what is wrong or I do not understand why until now on the test by the moderator?
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,354
Reaction score
8,533
First Language
English
Primarily Uses
RMMV
Threads in this section can only be approved/disapproved by Archeia. As she is very busy, it can sometimes take a while for her to have a chance to look at them. Please be patient.
 

Blue001

Veteran
Veteran
Joined
Jan 13, 2014
Messages
231
Reaction score
112
First Language
English
Primarily Uses
RMMV
If you mean "Disable" a section of code in an events "contents", the same way you can turn Plugins on and off temporarily to test things then I like this idea. You can do this in StarCraft 1 and 2's trigger editors, and along with THIS SUGGESTION would really improve event creation and testing.

I grabbed a random image from the internet that shows the "disabled" code sections in SC2s triggers (the ones on the right with an x) as a mockup for what Alexandr_7 means.

The code in red is off but still there while this person tests the one not in red, so you can keep it there and not have to remake it after your test if you discover you do actually need it after all.
 

Alexandr_7

Veteran
Veteran
Joined
Apr 22, 2016
Messages
106
Reaction score
29
First Language
Russian
Primarily Uses
If you mean "Disable" a section of code in an events "contents", the same way you can turn Plugins on and off temporarily to test things then I like this idea. You can do this in StarCraft 1 and 2's trigger editors, and along with THIS SUGGESTION would really improve event creation and testing.

I grabbed a random image from the internet that shows the "disabled" code sections in SC2s triggers (the ones on the right with an x) as a mockup for what Alexandr_7 means.

The code in red is off but still there while this person tests the one not in red, so you can keep it there and not have to remake it after your test if you discover you do actually need it after all.
Could be so. But I expected to add 2 buttons.
1. "Comment out" or "Disable commands"
2. "Uncomment" or "Enable commands"

When you click on "comment out", the commands are converted to comments or disabled by highlighting in red.
When you click on "uncomment" comments are converted again into commands or commands turn on highlighted in the usual color.

It does not matter how it will be implemented, the main thing is that the commands in the event that are for the developer a kind of code could be made inactive, but not deleting them.
 

Meike

||Telling Stories Through Games||
Veteran
Joined
Apr 25, 2015
Messages
107
Reaction score
171
First Language
English
Primarily Uses
RMMV
This would be useful, but it's easy to work around. What I've done is I stuck the event commands I wanted 'commented out' in a conditional branch of "if self switch A is on" which then gets skipped because I never set self switch A to on.
 

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

Latest Threads

Latest Posts

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,085
Members
137,585
Latest member
Reversinator
Top