Switching materials

Hello i am not sure how i can do this but i have multiple objects within the game which need to be found in order and depending on which stage the player is on a different object will be effected. So if the player is on object1 then i want only that object to get effected or if the player is on object3 i only want that one to get effected. I need a blueprint which would allow on keypress to check which objects the player has found so far and to effect the next in line object, and to switch the material of the next object?

The keypress is basically going to show a hint to where the next object is for a limited time.

Hi,

There are many ways to check what the player is standing on or overlapping. one way i use is running a line trace from the player to the floor and then getting the type of object/material it has. This way you can change the sounds of the player footsteps and activate other items. If you want something simple just create a sphere mesh in the player BP and get overlapping actors that way.

some info here…

https://forums.unrealengine.com/development-discussion/content-creation/3698-different-footstep-sounds-on-different-materials