![]() It represents all of the changeable data about the actor, such as HP, MP, and Level. ![]() The 'Game' Actor is the living, changing actor. What is the difference between 'Game' Actor and 'Data' Actor? When do we use one or the other? However, by overwriting the setup function without keeping a reference to the original, we would have made our plugin incompatible with any other plugins that use the same setup function. We could have, and this would have produced an identical result. Why did we go through the trouble of aliasing and calling the original function? Why not just copy the whole function from rpg_objects.js and add our line to the end? The actor now has a _race property on it that is set to whatever was written in the notetag! For old versions of MV, be sure to use the old Javascript code that is provided. This tutorial is written using modern Javascript standards (ES2015+) that are available in MV v1.6+. Write a script call that can be used in events. ![]() ![]()
0 Comments
Leave a Reply. |