I am new to RPG maker and have been following the tutorials on the website. I got to the 7th tutorial with no problem however when it got to battle testing the character could not perform a basic attack and i get the error message:
Script 'Skill Set Effect' line 37: NoMethodError occurred.
undefined method '[]' for nil:NilClass
i have no idea what i have done wrong or how to fix this. Does anyone have any idea of what the issue is and what i need to do?
Sorry if there is already a post about this but i couldn't find it
That script "Skill set Effect" contains an error - and it is not part of the original engine, it is something you have added to your project.
Where did you get that script?
If you misnamed the script from the 3.5 tutorial (that one is called "skill self effects"), then it might be that you accidentally got an older version of the tutorial where a defective script was included. You can either search the forum for the correct version, or look the tutorial up on the blog in that case.
Or you can simply delete that script - that method of applying effects to the user has been replaced by a better method using the damage formula without the need to add any script.
OK thanks. How would i use the damage formula in this way? as well as how do i create the formulas? they confuse me a lot
and yes i did name it wrong.oops
One of the tutorials has an error - I think the error is in the actual script the tutorial tells you to use.
It HAS been corrected and updated, but I think there's still at least one place on the site that has the old version.
So if you're using a demo, follow the link from the tutorial to the script instead, or vice versa.
Thank you very much for the help. I've got it working now.