init_shader
From Rivals of Aether Unofficial Workshop Manual
Refreshes the character's internal shader values and runs init_shader.gml. If you make changes to the character's colors, you must run this.
Syntax[edit | edit source]
init_shader();
Returns[edit | edit source]
N/A
Examples[edit | edit source]
Basic[edit | edit source]
// update.gml: // set the character's outline color to red: outline_color = [ 255, 0, 0 ]; // tell the shader to update the character's colors: init_shader(); // set the character's outline color back to black, but don't tell the shader that you changed it. This way, if the character action is interrupted before you can manually set the outline color back to black, it will still change back: outline_color = [ 0, 0, 0 ];