public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers
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.

Original Source

  • Original title: $gameParty issue
  • Original author: DreamX
  • Original date: January 8, 2016
  • Source thread: https://forums.rpgmakerweb.com/threads/gameparty-issue.54488/
  • 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.

Log in to download

Referenced Images / Attachments

correct.png
correct.png
empty array.png
empty array.png
Creator Claims / Removal

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.

#039#rpg-maker-archive#js-learning

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar