- Jun 2, 2023
- Reaction score
- First Language
- Primarily Uses
Respectfully and professionally, I could kiss you on the mouth. You have solved all my problems.View attachment 269355If you want the flashlight to work only when the player actually has the "Flashlight" item, it's even simpler than that! Make an item in the Database (mine is called Torch, since I'm Australian ). Set it up to be a key item, and add the note [flashlight].
What this does is place the "flashlight" light on the player if they have this item in their inventory, and removes the light if they lose the item. To setup the "flashlight" settings, check the -ShoraLighting- plugin settings again, and look for a setting called [Lights: Custom]. In that setting there should be a light called flashlight that you can adjust the settings for. If the list of custom lights is empty, you can double-click empty space to make a new one (you will need to call it flashlight), or copy the ones from the -ShoraLighting- example project.