Swap Actor

Mithran

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
404
Reaction score
217
First Language
English
Primarily Uses
Swap Actor

by Mithran


Introduction

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.

Features

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

Script

http://pastebin.com/CiAjWXyQ

FAQ

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

Threads
107,734
Messages
1,031,739
Members
139,869
Latest member
Anzi
Top