Preserved forum archive. This topic stores the original first post and locally mirrored RPG Maker Web attachments when available. It is posted by the BMMPlay archive account, not by the original creator.
Source forum path: Game Development Engines > RPG Maker Javascript Plugins > Learning Javascript
Summary
I'm trying to modify Game_Followers.prototype.initialize. For the modifications I want to make, I need to reference $gameParty. If I use console.log($gameParty), it displays all its data including the actors, which I need: { "lightbox_close": "Close",
Archived First Post
I'm trying to modify Game_Followers.prototype.initialize. For the modifications I want to make, I need to reference $gameParty.
If I use console.log($gameParty), it displays all its data including the actors, which I need:
Protected download
But if I use $gameParty._actors, I get an empty array:
Protected download
That means that while I can print $gameParty to the console I cannot actually use its information.
I assume this has something to do with loading, but why then am I able to print out $gameParty but not actually use its information?
I've also tried $gameParty.members(), $gameParty.allMembers(), $gameParty.battleMembers() but I get empty arrays again.
Any help would be greatly appreciated.
Downloads / Referenced Files
Log in to download
Log in, then follow the RPG Maker Developers Group to see these download links.
If you are the original creator and want this listing reassigned, edited, or removed, join BMMPlay and contact the moderators with proof that matches the original RPG Maker Web profile, linked GitHub, itch.io page, or another public creator identity.