Note: This PRAction documentation is out-dated and is for an older (pre-GMS v2.3) version of PRAction. For the most up-to-date docs on the latest version of PRAction, please refer to this page as well as the documentation included in the PRAction package.

Documentation Topics
Function

PRActionQBlendFlash()

Creates a compound action that, when played by an object, will fade blend that object between 2 colors repeatedly using the given parameters. The action will first set the object's image_blend instance variable to color1.


Declaration

PRActionQBlendFlash(color1, color2, fade1DurationSecs, fade1DelaySecs, fade2DurationSecs, fade2DelaySecs, easeId)

Parameters

color1

The first color to fade from.

color2

The second color to fade to.

fade1DurationSecs

The time, in seconds, that it takes to fade blend from color1 to color2.

fade1DelaySecs

The time, in seconds, that it waits after fading from color1 to color2.

fade2DurationSecs

The time, in seconds, that it takes to fade blend from color2 to color1.

fade2DelaySecs

The time, in seconds, that it waits after fading from color2 to color1.

easeId

The ease id indicating which easing function to use for this animation.

Return Value

The created action object.