Hello, I’m trying to make it so that when a player is near a mesh, in this instance a streetlight he is presented with the option to turn it on.
I however have multiple streetlights of which all have to use the same piece of code to turn on and of.
Now I understand that this is done by with a foreach loop and Get All Actors of Class if I am not mistaken… but can someone please explain to me how I transform my streetlight mesh into a class?
Kind regards,
Quantum