Searching for dynamic lights in game
by University_Washington (#0009) · in Game Design and Creative Issues · 03/25/2009 (8:43 pm) · 0 replies
So let me preface this question with the actual thing that I want to accomplish. In our game, when a certain character runs through the interior, we would like for the dynamic lights within a certain proximity of this character to turn off.
Now, this would involve searching through the mission editor, testing each dynamic light object whether it's certain position lies within a certain "bubble" around this character and then calling a "turn off" on those object id's.
Any suggestions?
Now, this would involve searching through the mission editor, testing each dynamic light object whether it's certain position lies within a certain "bubble" around this character and then calling a "turn off" on those object id's.
Any suggestions?