Hi all!
I'm making a game where there are some dark places, but I'd like the player and certain enemies to be able to light it up. For this I need a smooth way to associate a "light object" (an active object) to every enemy or fireball. Please note that the darkness/light thing is not a problem (I've managed it with an extra layer and some MMF2 HWA settings), but I don't know how to do the active object association efficiently and with nice code.
Thankful for any help!