Skip to product information
1 of 1

Damage Agent Creative Device

Damage Agent 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

        Deal a set amount of damage to whoever activates a trigger. The Damage Agent Creative Device listens to a Trigger device and damages the player or NPC that fired it, so anything that can fire a trigger, a volume, a timer, a button, becomes a hazard or an instant elimination.

        Perfect for: traps, kill zones, boss arenas, out-of-bounds penalties and testing tools.

        What Problem It Solves

        • Apply an exact damage amount from any trigger source without building a Damage Volume for each spot.
        • Eliminate a player instantly: the default amount is 10,000,000, which no health or shield survives.
        • Damage NPCs such as guards and creatures the same way as players.

        How It Works

        The device subscribes to the Trigger device's Triggered event. When it fires with a player or NPC, the device reads that character and applies Damage Amount to it. If the trigger fires without a character, nothing happens and a warning is written to the log so you can spot miswired devices.

        Setup

        1. Copy damage_agent.verse into your project's Verse folder.
        2. Go to Verse > Build Verse Code so the device appears in the Content Browser.
        3. Place the Damage Agent device in your island.
        4. Assign a Trigger device to Damage Trigger and set Damage Amount.
        5. Drive the trigger from any other device: a Volume when a player enters, a Timer, a Button.

        Settings

        • Damage Trigger: the Trigger device that starts the damage.
        • Damage Amount: damage applied per activation, 10,000,000 by default.

        Project Outline

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

        Frequently Asked Questions

        What does the Damage Agent device do?

        Whenever the linked Trigger fires, the player or NPC that activated it takes the damage amount you set.

        Can I use it to eliminate players instantly?

        Yes. The default damage is 10,000,000, which eliminates anyone. Lower Damage Amount for a hazard that only hurts.

        Does it work on NPCs?

        Yes, as long as the trigger is activated by a character. If a device fires the trigger with no character involved, nothing happens.

        How do I set it up?

        Copy the file into your project, build Verse code, place the device, link a Trigger device and set Damage Amount. Drive the trigger with any other device, such as a volume or a timer.

        Does it work in Creative 1.0?

        No. It needs UEFN.

        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!