How do I make a PNG image (or animation) show up when a character dies?
#2
Currently, I am without my main system ... ergo without RPGMaker. But I am wondering if this can merely be done within the TROOPS database.

The 'collapse' effect which changes the default battler red and fades the battler away is done because it it is a sprite object. That being an object that is given and holds a picture image (imagine a picture frame), and it is the frame that is controlled by such effects. And when one uses the [SHOW PICTURE] event, they are actually creating a sprite to hold a picture.
Code:
@>Control Variiable[0011:AHeroHealth]== [Aluxes:HP]
@>Control Variiable[0012:BHeroHealth]== [Basil:HP]
@>Control Variiable[0013:GHeroHealth]== [Gloria:HP]
@>Control Variiable[0014:HHeroHealth]== [Hilda:HP]
@>Conditional Branch [Variable - 0011:AHeroHealth]<- 0
  @>Conditional Branch [Switch - 0021:AluxesDead] == OFF
    @>SHOW PICTURE[006, "AluxesOuch",220,360, 255]
    @>MOVE PICTURE[006, 0, 40frame(s)
    @>Control Switch[0021:AluxesOuch] == ON
  @>end
@>end
@>Conditional Branch [Variable - 0012:BHeroHealth]<- 0
  @>Conditional Branch [Switch - 0022:BasilDead] == OFF
    @>SHOW PICTURE[007, "BaslOOF",340,360, 255]
  ===etc===

I am kinda spitballing, so this is not tested. I am thinking that this could be pasted within your individual TROOPS database pages that are set to run all the time to detect HP changes, both for heroes and enemies.

If the player formation doesn't change in-game, this would work. And it would work for the enemies as well, this assuming it is used in the desired individual TROOP pages. If for the actors, this would be used in every page. And this could be adapted for the enemies.

Again, spitballing as I am not at a PC with RPGMaker.
Up is down, left is right and sideways is straight ahead. - Cord "Circle of Iron", 1978 (written by Bruce Lee and James Coburn... really...)

[Image: QrnbKlx.jpg]
[Image: sGz1ErF.png]    [Image: liM4ikn.png]    [Image: fdzKgZA.png]    [Image: sj0H81z.png]
[Image: QL7oRau.png]    [Image: uSqjY09.png]    [Image: GAA3qE9.png]    [Image: 2Hmnx1G.png]    [Image: BwtNdKw.png%5B]
  Above are clickable links
Reply


Messages In This Thread
RE: How do I make a PNG image (or animation) show up when a character dies? - by DerVVulfman - 11 hours ago

Possibly Related Threads…
Thread Author Replies Views Last Post
   Image transitions FriKitty 2 2,488 11-24-2024, 05:00 AM
Last Post: DerVVulfman
   Animation Action justpassingby 16 23,185 11-06-2017, 01:59 AM
Last Post: justpassingby
   Scan skill should show states Tumen 5 11,622 05-02-2017, 03:33 AM
Last Post: DerVVulfman
   Custom Message by Hodgeelmf, need to make it above picture LunarBerry 6 14,354 05-09-2016, 01:15 AM
Last Post: LunarBerry
   Atoa Custom Battle System CTB animation while cast Noctis 6 14,384 01-04-2016, 03:05 PM
Last Post: Noctis
   show variables on screen rpg maker xp ThePrinceofMars 22 42,145 10-19-2014, 08:01 PM
Last Post: ThePrinceofMars
  Make LockeZ's Sacrifice script Blizzard Compatible Steel Beast 6Beets 0 4,097 05-29-2014, 02:13 AM
Last Post: Steel Beast 6Beets
   Help editing Animation Resizer MechanicalPen 3 7,287 11-22-2012, 08:39 PM
Last Post: MechanicalPen
   Auto-play Character animation Taylor 0 3,899 05-30-2012, 11:56 AM
Last Post: Taylor
   How do you make a call script? firestalker5 0 3,979 04-21-2011, 05:22 AM
Last Post: firestalker5



Users browsing this thread: 1 Guest(s)