When I have a map, with 30 light models for example, and I want to be able to interact with each individual light, do I have to make 30 functions?
Isn't there any easier method?
I rather want to have 1 action, which I can assign to every light, and then be able to shoot at the lights to make them go out.
How can I make something like this?

Thanks.


The best games are the games you create yourself.