|string||The ID of the character to modify (or keyword |
|color||The top-left gradient color, where |
|color||The top-right gradient color, where |
|color||The bottom-right gradient color, where |
|color||The bottom-left gradient color, where |
|real (0-1)||The alpha transparency value, where 1 is default and 0 is fully transparent|
|real||Sets the length of the modification transition, in seconds|
|integer/macro||Optional: Sets the ease mode to perform the transition in|
Applies a four-color gradient and transparency modifications to the input entity ID. Color values can be input using GameMaker Studio's built-in color constants or functions like VNgen's
All modifications made with this script are permanent and will persist until another modification is performed. This script cannot be performed simultaneously with other modification actions operating on the same entity ID.
See Macros & Keywords for a list of available ease modes.
This will apply a warm set of colors to the character "John Doe", suggesting an evening environment.