Flashlight Item


New member
How do I create a simple Flashlight as an equipable Item that has an on and off state?

Also, how can I make the flashlight to have an energy bar that can be refilled with battery items?


Staff member
This will take some scripting but if you subclass the ItemAction you can then create a Flashlight Item Action. The Melee Weapon and Shootable Weapons are Item Actions, but for a more simplified example take a look at the Shield.