Verse Library verse

02 Fragment

Checks a player's current shield value and prepares to grant shield if it falls below a threshold.

verse-library/using-shield-consumables-in-fortnite-creative/02-fragment.verse

# Hint Structure (Don't copy-paste, try to write it yourself first!)
current_shield: int = Player.GetShield()
if (current_shield < 50) {
    # Give shield here
}

Comments

    Sign in to vote, comment, or suggest an edit. Sign in