advanced_storm_beacon_device

device
advanced_storm_beacon_device<public> := class<concrete><final>(creative_device_base)

Used in conjunction with `advanced_storm_controller_device` to customize individual storm phases.

Module
/Fortnite.com/Devices
Source
fortnite

Used in

my_controller : advanced_storm_controller_device = advanced_storm_controller_device{}

    # We define a beacon to change the storm's look.
    # This is like a remote control for the storm.
    # Note: tag this property @editable so you can assign it in the UEFN editor.
    @editable
    my_beacon : advanced_storm_beacon_device = advanced_storm_beacon_device{}

    # This function runs when the game starts.
    OnBegin<override>()<suspends>:void=
        # First, the beacon is configured in the UEFN editor to link to a storm phase.
        # advanced_storm_beacon_device does not expose an Enable call in Verse;
        # enable/disable the beacon via its editor properties instead.
# These are the device references we place in the level and connect via the editor.
    # We reference them directly as editable properties instead of using Find_Device.
    @editable
    storm_controller: advanced_storm_controller_device = advanced_storm_controller_device{}

    @editable
    beacon_chill: advanced_storm_beacon_device = advanced_storm_beacon_device{}

    @editable
    beacon_killbox: advanced_storm_beacon_device = advanced_storm_beacon_device{}

    # This function runs once when the game starts.
    # It's like the "Start Game" button on the menu.