Input Trigger

Overview

The Input Trigger is a Device in Fortnite: Creative, added in Update v28.20.

All Settings

All Settings[]

All default values have been Bolded.

All Options
Option Value Description
Creative Input Custom 1 (Fire), Custom 2 (Target), Custom 3 (Crouch), Custom 4 (Jump), Custom 5 (Sprint), Custom 6 (Interact), Custom 7 (Forward/Back), Custom 8 (Left/Right), Custom 9 (Previous Item), Custom 10 (Next Item), Custom 11 (Swap Quickbar), Custom 12 (Harvesting Tool) Defines the input this device is listening for. These binds can be changed for users in the 'Creative Input Actions' section. These may be rebound by users, so may not be the same keys as the standard actions. They will appear as separate buttons on mobile.
Axis Direction Any, Positive, Negative If your input is an axis, this determines which direction to listen for. Negative is left or backwards, positive is right or forwards.
Show on HUD Yes, No Whether to show this input to players on the HUD.
HUD Description {Input}, { Custom Text } When shown on HUD, determines what text to show. Use {input} to show the current input.
Enabled At Game Start Yes, No Should we track this input for all applicable players at game start.
Selected Team Any, Team 1 - Team 100 Determines which team can activate the input.
Selected Class Any, No Class, Class 1 - Class 16 Determines which Class can activate the input.
Invert Team Selection Yes, No If set, the device will allow all but the selected team.
Invert Class Selection Yes, No If set, the device will allow all but the selected class.
Register Player Behavior Add Registered, Required Registered, Ignore Registered Determines how players that are registered are counted by the device.
  • Add Registered - Players can either be registered or counted by the device.
  • Require Registered - Players must be both registered and counted by the device.
  • Ignore Registered - Players must be counted by the device but NOT registered.
Mobile Has Text Yes, No For mobile users, determines if the interaction icon shows the description text.
Mobile Icon1 Hand Icon, Select a Icon For mobile users, determines what icon to show on the Interaction Icon. If none, will use a Hand Icon.
Mobile Color #FFFFFF (White), Select a Color For mobile users, determines the color of the interaction icon.

Functions and Events

Functions and Events[]

Functions
Option Description
Enable When Receiving From Enables the device. When Enabled, relevant players can press or release the input to broadcast the appropriate event
Disable When Receiving From Disables the device. When Disabled, events won't be broadcast and any hud elements will not appear.
Register Player When Receiving From Registers the instigating player, Register players may be added or removed from the counted players depending on the Track Registered Players setting.
Unregister Player When Receiving From Removes the instigating player, Register players may be added or removed from the counted players depending on the Track Registered Players setting.
Unregister All Players When Receiving From Clears all players from the registered list. Register players may be added or removed from the counted players depending on the Track Registered Players setting.
Events
Option Description
On Input Pressed Send Event To Broadcast when the input is pressed.
On Input Released Send Event To Broadcast when the input is released.

input_trigger_device class

input_trigger_device class[]

using { /Fortnite.com/Devices }

Inheritance Hierarchy
Option Description
creative_object Base class for creative devices and props.
creative_device_base Base class for creative_device.
Data
Option Type
PressedEvent listenable(payload)
ReleasedEvent listenable(tuple(agent, float))
Functions
Option Parameters Description
Enable Enables this device. An Input Trigger will listen for inputs from players that meet the device requirements.
Disable Disables this device. A disabled Input Trigger will not listen for inputs and will never show on the HUD.
Register Agent:agent Adds Agent to the registered player list. Registered Player Behavior determines whether registered players meet the device requirements.
Unregister Agent:agent Removes Agent to the registered player list. Registered Player Behavior determines whether registered players meet the device requirements.
UnregisterAll Clears the list of registered players. Registered Player Behavior determines whether registered players meet the device requirements.
IsHeld Agent:agent Succeeds if Agent is currently holding the input.