Swap Actor


Global Moderators
Global Mod
Mar 2, 2012
Reaction score
First Language
Primarily Uses
Swap Actor

by Mithran


VX Ace added "designation by variables" for actors in many places where it was absent from VX, but it is still missing from a few key places that would make eventing some systems just a little bit easier.


- Allows use of an actor which will automatically be swapped out for the appropriate actor depending on the value of a variable. Essentially, "designation by variable" for any actor event function.

- Variable can point to an actor id or a party position, and in some instances, the whole party.

How to Use

Install on its own script page in the materials section of the script editor above main and below default scripts.




q. The script keeps targeting the whole party/wrong person.

a. Make sure you have the correct designation variable set. Try displaying the value of the variable just before the operation you are trying to modify to make sure. If you are sure you have the correct dummy actor and variable value, please make a bug report including specifics for exactly what you are trying to do.

Credit and Thanks

- Mithran

Author's Notes

This small script is only intended to make life a bit easier for eventers. Please do not redistribute the script alone, but feel free to use in any project, commercial or otherwise, credit not required.

Bug Reporting

Please provide the complete error code as well as a short description on how to reproduce. Include screenshots, if relevant.

Latest Threads

Latest Posts

Latest Profile Posts

The self-righteous indignation of family when you expect them to pay back money you've leant to them never ceases to amaze me.
Gamedev for relaxing? yes or no?
I've been having a rough couple of months and as such let down some friends of mine in the RPG Maker community. I still need time to get back to my normal self, but it's nice to be back, to read articles, and to design again (albeit at a slow pace). Hope to give updates on Kid Crescent soon.
Friendly reminder that you don't have to be able to do absolutely everything. It's okay to scale back features or assets if things are too much - especially if you're the only one working on the game! And you can always add things in later. <3
My new cutscene system makes it so much easier to add parallel stuff happening in the background, I can easily fill the whole screen with action.

Forum statistics

Latest member