Fredrik
Member
Is it an easy way to replace something within all scripts in the game?
Been working on a game project for years now, and I've had to set fog alot, and I've used:
which now can be found everywhere in the codes. However I'd like to change it to
in other worlds change all the values to globals so I can easly turn on / off / change fog.
I could just go over all scipts in the game and change it manually, but it would take forever.
So is there an easy way in game maker to just find and replace, lets say "player.c_fog" in all scripts?
Been working on a game project for years now, and I've had to set fog alot, and I've used:
Code:
d3d_set_fog(1,player.c_fog,0,350);
Code:
d3d_set_fog(global.e_enable,global.c_fog,global.s_fog,global.e_fog);
I could just go over all scipts in the game and change it manually, but it would take forever.
So is there an easy way in game maker to just find and replace, lets say "player.c_fog" in all scripts?