Change Event Image to Actor Image

I think this is a fairly simple request, but I could be mistaken. It could also already be possible through a script call I am unaware of...

Basically I need a single function that lets me set an events graphic to the graphic of an actor via events.

I checked out events, and so far can't find a way to set an event dynamically to the current graphic of an actor in the database.

I am using my actors database to store multiple 'units' and their stats for a on map minigame system.

Something like a script or plugin call "match Y graphic : X" where Y is the event, and X is the actor ID. Y could be set to THIS to work in the event calling the function.

Thanks!
Could you tell us why either the Change Actor graphic command in the event command menu or in Set Move Route won't work. That will help us give more precise help.
Change Actor graphic works for the player and his followers only, which is fine. I plan to use that event function to change each actors graphic as the game progresses to show new outfits and such. But if I change an actors graphic 10-15 times over the course of the game, or let the player choose their graphic, and I want to display that party member somewhere on the map as an event, in a story sequence... without setting up 10-15 variable checks for each possible actor graphic for that one actor and having each page of the event be different, just to make their appearance correct, it becomes convoluted, time consuming and complicated.

Basically, when having an actor show up on a map as an event for story sequences or to give a visual representation of their current location when they are not in the party... being able to just pull and copy the actors graphic and apply it to the event would help greatly.

Set move route only lets you set a specific graphic file directly and not source anything like an actors current graphic. So you would again have to make countless variable checks to do this.

So what I need is a quick way to check an actor's current graphic and change the event to match it. No conditional branches required.

"Set Event Graphic To Match Actor X"
This should do it:

Code:
var actor = $gameActors.actor(1);  // Or whatever actor you want.var event = $gameMap.event(1);     // Or whatever event you want.event.setImage(actor.characterName(), actor.characterIndex());
In Ace, I had a script that allowed you to use a special image that would automatically take on the form of a specific actor, or a specific party member.


It was called Placeholder Graphics, and basically worked like this:


placeholderGraphics4.jpg



So you had some "dummy" pictures that get replaced during the game.


I can port it over if that works.
This should do it:

var actor = $gameActors.actor(1); // Or whatever actor you want.var event = $gameMap.event(1); // Or whatever event you want.event.setImage(actor.characterName(), actor.characterIndex());
Thanks! This will let me do what I need, until/unless Tsukihime makes her plugin port over.

In Ace, I had a script that allowed you to use a special image that would automatically take on the form of a specific actor, or a specific party member.

It was called Placeholder Graphics, and basically worked like this:

So you had some "dummy" pictures that get replaced during the game.

I can port it over if that works.
That is actually exactly what I need.
im using SDR to create a character, i was using the EST - ACTOR EVENT to do this but is not compatible whit the SDR code, any suggestions?
Necro-post notice: Tatsumaro

Please make your own topic for your own problem

Original thread: https://forums.rpgmakerweb.com/threads/change-event-image-to-actor-image.51391/