Character Flash

This script allows you to have characters on your map start flashing. You can choose how long the flash should be and the color of the flash, as well as the number of times it will flash.

If the character flashes more than once, then it will flash at a constant rate specified by the duration. Note that if a character will flash endlessly, you must explicitly turn off the flash.

characterFlashAni

Good for highlighting events or characters during cut-scenes.

characterFlash1

Download

Script: download here

Installation

Place this script below Materials and above Main.

Usage

To make a character flash, make the script call

   character_flash(id, duration)
   character_flash(id, duration, loop)
   character_flash(id, duration, loop, color)

Where ID is

   -1 for the player
   0 for the current event
   1 or higher is the specified event ID

The duration is the number of frames that you want it to flash.

Loop is the number of times it will loop. By default, it will only loop once (1), but you can have it loop infinitely by passing in 0. If it loops infinitely, then you will need to manually end the flashing, using the script call

   end_character_flash(id)

The color of the flash is a Color object. If the color is not specified, it defaults to white. See example below for specifying colors.

Example

To have event 3 flash red (RGB value 255,0,0), looping endlessly at a rate of 60 frames per flash, make the script call

   color = Color.new(255, 0, 0)
   character_flash(3, 60, 0, color)

Remember to end the character flash afterwards when you are done with the flashing.

You may also like...

10 Responses

  1. Izkdlm says:

    generic flagyl 400mg – cost clindamycin zithromax 250mg price

  2. Duesvw says:

    buy ciprofloxacin 500 mg generic – order erythromycin pills order erythromycin 500mg without prescription

  3. Rsgmpw says:

    buy ciprofloxacin – buy augmentin 625mg buy generic augmentin online

  4. Rmgcde says:

    order ciprofloxacin 1000mg sale – amoxiclav without prescription augmentin order

  5. Prlykk says:

    order atorvastatin 20mg for sale buy lipitor 20mg pill buy generic atorvastatin

  6. parafusion says:

    This script is very useful in a game where the player has access to an open-world environment at the early stage of the game as well as an encounter system that utilizes enemy sprites running around. Using conditional branches you can set the event of overpowering enemies to flash red for as long as the main character's level is below a certain threshold. A very handy script, thanks!

  7. Kiyoshi says:

    The dropbox link is disabled, would you enable it again? I'd really like to use this :3

  8. Jennifer says:

    Hmm.Good for a Super Saiyan Trans.

Leave a Reply

Your email address will not be published. Required fields are marked *