Scripting has always made me rage. I don't want to rage anymore so I'm giving it another shot. Could

Using RPG Maker VX Ace

First of all, let me just say that I HATE learning how to script, but I LOVE the seemingly endless possibilities for customization in RPG Maker. That being said. I HATE learning how to script.

Seeing instructions in scripts that are not easily understood by beginners (that pretty much tell you: if you haven't already been scripting for years you're SOL) has made me want to get into scripting so I could make scripts easily understood by beginners.

I'm practicing with gubid's tutorial right now. His tutorials seem okay, though I still need to rewind multiple times to even begin to understand what just happend. I think he's using RPGM VX, and I'm wondering if this is why his script is returning an error for me.

This is the video: http://www.youtube.com/watch?v=eJreFWkTQ1Q

The script: 

Spoiler
[IMG]http://i.imgur.com/RDykclH.png[/IMG]
My error:  D:<

[IMG]http://i.imgur.com/dh2reaj.png[/IMG]

I don't know if getting an answer to this will help me in my grind to understand scripting, but I really wanted to know what went wrong.

Again I'm using VX Ace he made this in VX

Also, does anyone know where I can find some good, detailed VX Ace scripting tutorials. Sesrching always leads me to gubid.

Thanks.
If I'm not misaken, Vx and Ace use different... library mean diffirent codes.

That's why we can't use rpg maker vx scripts in vx ace same for rpg maker XP.
OK, a few (very important) things before I tell you what you typed wrong.

1)

Scripting in RM is not the same as scripting in most other game editors.

When we are talking about scripting in RM, we are in effect talking about a full programming language, not a simple scripting language. What other game engines are usually call "scripting" is called "eventing" by the RM-Community.

And learning how to program something (no matter what language you use) is always difficult and takes a lot more time to master - if you try to learn programming at a university, even the basic courses go for a minimum of one year with three or four school hours per week and required "homework" for another five or six hours.

If you have any previous programming knowledge, this can be shortened a lot (more than 50% of that are basics that are identical in every language, and can be skipped if you had learned them before).

But if you do not have that basic knowledge, you need to learn it before you can really program on your own.

2)

Video tutorials are THE WORST WAY to learn programming. You will be much better off if you go looking for a written tutorial sequence and read your way through them. Yes, that will be several hundred pages - but a full video tutorial of the same material goes for several hundred hours (see above, 3-4 hours per week for one year equal to about 200 hours of hearing a teacher explaining things).

And that is one reason why many fan-made video tutorials are problematic: they try to shorten that time by assuming that the watcher already knows the terminology or some basics of programming. It's the same as if you're skipping classes and go only to 20 of those 200 hours of teaching - do you really think you can learn from tutorials that skip too much?

The second reason why video tutorials are problematic is what you said yourself: you have to rewind them again and again because they often go along too fast, especially if you're a newbie...

And the third reason why video tutorials are the worst way is the reason for your bug:

Due to low resolution you simply misread what he typed in in that video - that was your entire mistake, and it will happen again and again unless you have a written form of the scripts that you're supposed to type in...

Your mistake?

In the video, he typed:

actor = $game_actors[1]But you typed:

actor = $game_actors(1)See the difference?

If you do not already know when to use () and when to use [], then you'll always have trouble typing the scripts off such low-res-video tutorials
Your Input.trigger check is also not encased within a method that will ever be called, so it will not be checked. You should take those three lines (13-15) and put them inside the update method.
Your mistake?

In the video, he typed:

actor = $game_actors[1]But you typed:

actor = $game_actors(1)See the difference?

If you do not already know when to use () and when to use [], then you'll always have trouble typing the scripts off such low-res-video tutorials

------------------------------------------

Can't believe that *facepalm*.  :|

How did you guys learn to script? Any tutorials you can recommend? Something that actually taught you guys how to script, and is not either vague, outdated, or incompatible with VX Ace?
Me, by reading Yanfly's scripts and the engine's default scripts and editing them... plus reading the help file of RM, it really helps a lot... and lots of practice...


though before RM, I already have experience with Wc3 scripting, then visual basic... the editors for those have intellisense, auto-complete and list of methods/functions so they were easier to learn...


for RGSS3, you might wanna read some Ruby books (I think it uses 1.9.2)
Me, by reading Yanfly's scripts and the engine's default scripts and editing them... plus reading the help file of RM, it really helps a lot... and lots of practice...
I just learn to code RGSS3 because of Yanfly and Yami's script hehehehe 
Check out these tutorials. They are for RPG Maker VX Ace.
Check out these tutorials. They are for RPG Maker VX Ace.
Thread is broken lol. (unless you need to login to view)
You need to log in.


Anyway, I think the original issue is resolved, so ...


This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/scripting-has-always-made-me-rage-i-dont-want-to-rage-anymore-so-im-giving-it-another-shot-could.19564/