Hello! I’m working on a night vision mechanic in Unreal Engine using Blueprints. I currently have two post-process volumes: one for normal vision and one for night vision. I’m toggling between them using the “N” key with a FlipFlop node, and that part works fine.
However, I want to add a battery mechanic to my night vision system:
What I want to achieve:
- Battery Drain: When night vision is active, the battery should drain over time automatically.
- Battery Refill: The player can collect batteries scattered throughout the level, which should replenish the battery value.
- Disable Night Vision at 0%: When the battery reaches 0%, night vision should automatically turn off and revert to normal vision. I
've attached a screensh
ot of my current Blueprint setup here:
- How should I properly implement the battery drain when night vision is active?
- How can I automatically revert to normal vision when the battery reaches 0?
- How should I handle battery pickup events that restore battery life?