This script allows you to control a character’s opacity settings on the map using a single script call.
You can increase or decrease the opacity, turning the character fully opaque (value of 255), or completely transparent (value of 0).
You can control how long the opacity change will take. For example, if you wanted to fade from 255 to 0 over a span of 60 frames, the game will automatically calculate the appropriate opacities over the 60 frames so you don’t have to do it yourself.