Monsters attacking when the lights Go out.

Talon
Hope this is a simple question, in the "Can I sort of way"

I'm making an event to trigger at a certain time where all the lights in the game go out, bathing everything in darkness, however it would be sadistic to leave folks without a light trapped with nowhere to move, so after some tinkering made it so the doors all remained weakly lit.. Was a good trial and error project using lists..

Now i want to do something with it, make scripts fire if the player is going around in the dark without a true lightsource on them.. so the attack would be only if there was no strong lightsource

After a little while all i could think of was using some sort of scope that checked if any item had the attribute light source Strong in reach? is that right?

-Nvm, figured out the darkness level would work

XanMag
Talon wrote:
-Nvm, figured out the darkness level would work


So... You don't need help?

Talon
Yeah, sorry, posted it, then kept working on things, and got something running that seems to work fine

This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums