Per-player Maximum HP/Shield Manager
using { /Fortnite.com/Game }
using { /Fortnite.com/Devices }
using { /Fortnite.com/Characters}
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }
<##
MAX HP/SHIELD MANAGER V0.9 (4/10/2022) by bird stink (twt: @BirdStink)
A Verse creative device that handles HP and Shield maximum increases via event signals.
In this case, the event signals come from Conditional Buttons.
These maximum values are per-player and intended to be persistent between sessions.
NOTE: Persistence can't be proven right now (4/10/23) because the Save device apparently doesn't work.
v1.1 4/10/2023
Orig: 4/10/2023
##>
health_and_shield_max_manager := class(creative_device):
# Two inputs: one for health and one for shields.
@editable
HealthMaxButton:conditional_button_device = conditional_button_device{}
@editable
ShieldMaxButton:conditional_button_device = conditional_button_device{}
# Health and Shield_Increment are the amount each button press increases max stat by.
Health_Increment : float = 20.0
Shield_Increment : float = 10.0
# The maximum possible value for each stat (prevents players from getting a million HP)
Health_Max : float = 300.0
Shield_Max : float = 200.0
You're reading a preview
The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.
Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.