- Joined
- Apr 14, 2015
- Messages
- 23
- Reaction score
- 2
- First Language
- English
- Primarily Uses
- N/A
Hi! I am trying to complete examples from a RPG Maker MZ Plugin Tutorial I got from this link and one of the examples tells me to try to run "$dataActors[1].name;" as a script and that it should return the name of the first actor in the Database. However, when I try to run it, I get the message "TypeError Cannot read property '1' of null". I found out this isn't just from "$dataActors[id].name" either, but from every script call I can think of trying related to the database. I am not using any plugins (besides the one I'm practicing with) nor' have I modified the base JS files in any way. I would really like to know what I'm doing wrong because I've been scratching my head over this and trying different things for hours but I haven't been able to find a solution anywhere.
I apologize ahead of time in case the solution is very obvious.
I apologize ahead of time in case the solution is very obvious.