public

Rpg Maker Developers Group

Simple enough for a child, powerful enough for a developer

2 Followers

Script call not working?

BMM Archive · July 15, 2026

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: Script call not working?
  • Original author: Mozumin
  • Original date: August 31, 2016
  • Source thread: https://forums.rpgmakerweb.com/threads/script-call-not-working.67634/
  • Source forum path: Game Development Engines > RPG Maker Javascript Plugins > Javascript/Plugin Support

Summary

Alright, so, this shouldn't be as much of a problem as it is, but i'm not great with scripting and i'm a little confused. I'm using the script call to Change Equipment of an actor, where both the actor and the equipment are decided by variables. The string of code looks like this: $gameActors.actor($gameVariables.value(0001)).changeEquip(03, $dataArmors[$gameVariables.value(0003)]);

Archived First Post

Alright, so, this shouldn't be as much of a problem as it is, but i'm not great with scripting and i'm a little confused.
I'm using the script call to Change Equipment of an actor, where both the actor and the equipment are decided by variables.
The string of code looks like this:

$gameActors.actor($gameVariables.value(0001)).changeEquip(03, $dataArmors[$gameVariables.value(0003)]);

Where Variable 0001 gets the actor's index # while variable 3 gets the equipment's index #.
The thing is that this string doesn't seem to work at all. It's not even giving me an error!
So i tried something that could not possibly go wrong:

$gameActors.actor(0001).changeEquip(03, $dataArmors[0001]);

And this should change Actor 0001's third equipment slot to Armor 0001
But it still appears not to run at all.
I'll post a couple of screens from my project so i can give you a better idea of how i have got things set up.

I really hope this is the right place to ask this question. I don't want to mess up again.

Protected download

Protected download

Protected download

Protected download

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

1.png
1.png
2.png
2.png
3.png
3.png
4.png
4.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-support

Replies (0)

No replies yet.

0 replies 1 view

Log in to reply.

User Avatar