Water (Device)

Water is a Device in Fortnite: Creative, added in Update v20.20.
<tabber>
|-|Settings=
==All Settings==
All default values have been Bolded.
Option 	Value 	Description
Water Width 	0.5, 1 - 100 	Set the width of the volume in tiles.
Water Depth 	0.5, 1 - 100 	Set the depth of the volume in tiles.
Water Height 	0.5, 1 - 100 	Set the height of the volume in tiles.
Default Vertical Water Percentage	0% - 100% 	Set the default vertical water level to the specified percentage of the Water Height.
Vertical Filling Speed (T PM) 	0 - 180, 60 	Determines the rate, in tiles per minute, at which the water fills vertically.
Vertical Emptying Speed (T PM) 	0 - 180, 60 	Determines the rate, in tiles per minute, at which the water empties vertically.
Water Type 	Default, River Styx, Red River Styx 	Determines the rate, in tiles per minute, at which the water empties vertically.
Enabled During Phase 	None, Always, Pre-Game Only, Gameplay Only, Create Only	Determines the game phases during which the device will be enabled. Pre-Game includes all phases prior to the Game Starting (the waiting for players lobby on Featured Islands and the Game Start Countdown).
Interact With Trigger 	Yes, No 	Determines if the water interacts with the Trigger device.
|-|Functions and Events=
==Functions and Events==
Option 	Description
Enable When Receiving From 	Enable the device.
Disable When Receiving From 	Disable the device.
Reset Water When Receiving From 	Reset the water filling to its default Vertical Water Percentage.
Resume Vertical Movement When Receiving From	Resumes the last vertical movement.
Start Vertical Emptying When Receiving From 	Start the vertical emptying of the water.
Start Vertical Filling When Receiving From 	Start the vertical filling of the water volume.
Stop Vertical Movement When Receiving From 	Stop the vertical filling or emptying of the water volume.
Option 	Description
On Player Entering Water Send Event To 	When a player enters the water, send an event to linked devices.
On Player Leaving Water Send Event To 	When a player leaves the water, send an event to linked devices.
On Vertical Emptying Completed Send Event To	When the water's vertical emptying is completed (Vertical Water Percentage = 0%), sends an event to linked devices.
On Vertical Filling Completed Send Event To 	When the water's vertical filling is completed (Vertical Water Percentage = 100%), sends an event to linked devices.
|-|Verse API=
This device can be found in Content Browser in the following path: /All/Fortnite/Devices/Environment
==water_device class==
using { /Fortnite.com/Devices }
Inheriting 	Description
creative_object 	Base class for creative devices and props.
creative_device_base	Base class for creative_device.
Event Function 	Type
AgentEntersWaterEvent 	listenable(agent)
AgentExitsWaterEvent 	listenable(agent)
VerticalFillingCompletedEvent 	listenable(tuple())
VerticalEmptyingCompletedEvent	listenable(tuple())
Function 	Parameters	Description
Enable 	 	Enables this device.
Disable 	 	Disables this device.
Reset 	 	Resets the water level in the volume to the value set in the Default Vertical Water Percentage option.
BeginVerticalEmptying 	 	Starts vertically emptying the water in the volume.
BeginVerticalFilling 	 	Starts vertically filling the water in the volume.
StopVerticalMovement 	 	Stops filling or emptying the volume.
ResumeVerticalMovement	 	Resumes either filling or emptying the volume.
</tabber>
Category:Devices
Category:UEFN
Category:Creative
Category:Verse API
Category:Devices