Is it possible to change an event's opacity when the screen tints?

I'm hoping to make it so when the screen tints darker, certain events get more transparent.


If there's a way to do this with custom scripts, or even eventing, I'd love to hear.
at the same place where you command the titn screen, also use the set movement route command to change the opacity of any event you want to change.


But it is only so simple if you give the command, you can't simply have it happen automatically (that would require a script/plugin).
at the same place where you command the titn screen, also use the set movement route command to change the opacity of any event you want to change.


But it is only so simple if you give the command, you can't simply have it happen automatically (that would require a script/plugin).



Do you by any chance know how I would be able to write such a script?
Do you know how to program? If not you can only request a script in the script request section. If you know how to write programs, then you should go to the learning RGGS section of the forum
I found something about this in this Thread:


http://forum.chaos-project.com/index.php?topic=14211.0


So if one wants to change Player or event Opacity with Scriptsnippet Line you need to insert the following as new Script in but below Materials as new Script.


class Game_Character
attr_writer 😮pacity
end


Now you can change the Opacity with Eventcommand Script which you find on Eventcommands Page 3.


$game_map.events[1].opacity = 0
$game_player.opacity = 180




And because i forgot about the Transparent Events  i share this.


It changes the Opacity of all 50 Events on the Map and if one doesnt exist it doesnt matter, the Game will not crash.


Its not a Script its also for Eventcommand Script like the above.



for a in (1..50) #<--Event_Ids

if $game_map.events[a] != nil

$game_map.events[a].opacity = 100 #<--Opacity 0 to 255

end
end




Sorry Andar i know you are right and self learning is better but this Time this one isnt easy and without learning in other fields i would never been able to google and find the solution for this rar handled topic.


Thats why i just share my solution with the OP who asks stuff iam doing at the moment. Sorry iam not a Scripter so i rely on shared Script snippet stuff which is realy easy to use and  makes using rpg maker much more flexibel and fun.

Original thread: https://forums.rpgmakerweb.com/threads/is-it-possible-to-change-an-events-opacity-when-the-screen-tints.69004/