Skip to product information
1 of 1

Invulnerability Creative Device

Invulnerability Creative Device

Title 1
Save/bookmark this page link/url for future downloads of files. You can also access file by login to your account.

Downloadable files along with this product

    No files to download


    Details

        Make a player or NPC immune to damage on demand. The Invulnerability Creative Device switches damage off for whoever fires the Activate trigger, then switches it back on after a duration you choose or when a Deactivate trigger fires.

        Perfect for: spawn protection, safe zones, power-ups, cutscenes and boss phases.

        What Problem It Solves

        • Temporary protection after respawn without a Mutator Zone the player has to stay inside.
        • A timed shield power-up that ends by itself.
        • Making an NPC or a player untouchable while a scripted moment plays out.

        How It Works

        When the Activate trigger fires, the device takes the character of the player or NPC that fired it and sets it to invulnerable. If Maybe Duration is set, a timer starts and vulnerability is restored when it ends. If the Deactivate trigger fires first, the timer is cancelled and the character becomes vulnerable straight away. Each character is tracked separately, so several players can be protected at once with their own timers.

        Setup

        1. Copy invulnerability_device.verse into your project and run Verse > Build Verse Code.
        2. Place the device and assign one Trigger device to Activate Invulnerable Trigger and another to Deactivate Invulnerable Trigger.
        3. Optionally set Maybe Duration in seconds. Leave it empty to control the effect with the Deactivate trigger only.
        4. Fire the Activate trigger from any device: a Player Spawner, a Button, a Volume, an Item Granter.

        Settings

        • Maybe Duration: optional seconds of invulnerability. Empty means until deactivated.
        • Activate Invulnerable Trigger: makes the triggering player or NPC invulnerable.
        • Deactivate Invulnerable Trigger: restores damage for the triggering player or NPC.

        Project Outline

        Content/
        ├── invulnerability_device.verse
        └── README.md
        

        Frequently Asked Questions

        What does the Invulnerability device do?

        When the Activate trigger fires, the player or NPC who fired it stops taking damage. A Deactivate trigger makes them vulnerable again, or you can set a duration so it wears off automatically.

        Can I make a temporary shield?

        Yes. Set Maybe Duration to the number of seconds. Leave it empty and the effect lasts until the Deactivate trigger fires.

        Does it protect everyone or one player?

        One at a time: it applies to whoever activated the trigger. To protect a group, fire the trigger for each of them.

        Do I need UEFN?

        Yes. It is a Verse device.

        NOTE: This device is provided free of charge. The code is provided as is; updates and bug fixes may be released but are not guaranteed.

        View full details

        Join our server!

        Get support, ask questions or suggest ideas for new code!