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

18 Responses

  1. Qivlci says:

    order clozaril online cheap – ramipril 5mg drug famotidine for sale online

  2. Wvmyhm says:

    zidovudine 300mg pills – order generic metformin cheap allopurinol

  3. Vcfsrz says:

    glucophage 1000mg drug – lincocin ca order lincomycin 500mg

  4. Dddxqb says:

    order furosemide 100mg sale – buy minipress 2mg generic cost captopril 25mg

  5. Zzeykw says:

    order flagyl without prescription – where to buy amoxil without a prescription zithromax medication

  6. Icderf says:

    buy acillin paypal ampicillin tablet buy generic amoxicillin for sale

  7. Mxhldl says:

    order valtrex 500mg sale – diltiazem order online order acyclovir 400mg generic

  8. Vribxi says:

    ivermectin 6mg tablets for humans – brand ciprofloxacin 500 mg order sumycin online

  9. Izkdlm says:

    generic flagyl 400mg – cost clindamycin zithromax 250mg price

  10. Duesvw says:

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

  11. Rsgmpw says:

    buy ciprofloxacin – buy augmentin 625mg buy generic augmentin online

  12. Rmgcde says:

    order ciprofloxacin 1000mg sale – amoxiclav without prescription augmentin order

  13. Prlykk says:

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

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

  15. Kiyoshi says:

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

  16. Jennifer says:

    Hmm.Good for a Super Saiyan Trans.

Leave a Reply

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