// Illuminates the player for a short period and then fades out. ////////////////////////////////PLAYER LIGHT///////////////////// ACTION my_light { IF (player.LIGHTRANGE == 300){ player.LIGHTRED = 0; player.LIGHTGREEN = 0; player.LIGHTBLUE = 0; player.LIGHTRANGE = 0; }ELSE{ player.LIGHTRED = 0; player.LIGHTGREEN = 0; player.LIGHTBLUE = 250; player.LIGHTRANGE = 300; WAITT 50; player.LIGHTRED = 0; player.LIGHTGREEN = 0; player.LIGHTBLUE = 200; player.LIGHTRANGE = 300; WAITT 2; player.LIGHTRED = 0; player.LIGHTGREEN = 0; player.LIGHTBLUE = 150; player.LIGHTRANGE = 300; WAITT 2; player.LIGHTRED = 0; player.LIGHTGREEN = 0; player.LIGHTBLUE = 100; player.LIGHTRANGE = 300; WAITT 2; player.LIGHTRED = 0; player.LIGHTGREEN = 0; player.LIGHTBLUE = 50; player.LIGHTRANGE = 300; WAITT 2; player.LIGHTRED = 0; player.LIGHTGREEN = 0; player.LIGHTBLUE = 25; player.LIGHTRANGE = 300; WAITT 2; player.LIGHTRED = 0; player.LIGHTGREEN = 0; player.LIGHTBLUE = 0; player.LIGHTRANGE = 0; } } ON_L my_light;