Verse API reference page for the player_movement_settings_device class
Used to update the player character's movement settings on different movement mode.
Verse using statement |
using { /Fortnite.com/Devices } |
Inheritance Hierarchy
This class is derived from the following hierarchy, starting with creative_object:
| Name | Description |
|---|---|
creative_object |
Base class for creative devices and props. |
creative_device_base |
Base class for creative_device. |
Exposed Interfaces
This class exposes the following interfaces:
| Name | Description |
|---|---|
enableable |
Implemented by classes whose instances can be enabled and disabled. |
Members
This class has functions, but no data members.
Functions
| Function Name | Description |
|---|---|
AddTo |
Adds the movement settings to the provided agent, activating if it is in the highest priority. * The highest priority device is applied to players and test players. Ties are broken by which is applied most recently. * Fails if the provided agent is unsupported including NPC agents like Guard, Wildlife or Custom NPCs. |
AddToAll |
Adds the movement settings to all the agents in the scene, activating if it is in the highest priority. * The highest priority device is applied to players and test players. Ties are broken by which is applied most recently. |
Disable |
Disables this device, revoking its change to the registered player characters. Disabling this does not clear the list of registered players. |
Enable |
Enables this device, allowing its properties to affect the registered player characters' movement. |
GetPriority |
Returns the priority of the device, the active device in the highest priority will be applied to the provided agents. |
GetRegisteredAgents |
Returns the player agents registered to this device. |
GetTransform |
Returns the transform of the creative_object with units in cm. You must check creative_object.IsValid before calling this if there is a possibility the object has been disposed or destroyed by gameplay. Otherwise a runtime error will result. |
IsEnabled |
Succeeds if the object is enabled, fails if it's disabled. |
MoveTo |
Moves the creative_object to the specified Position and Rotation over the specified time, in seconds. If an animation is currently playing on the creative_object it will be stopped and put into the AnimationNotSet state. |
MoveTo |
Moves the creative_object to the specified Transform over the specified time, in seconds. If an animation is currently playing on the creative_object it will be stopped and put into the AnimationNotSet state. |
RemoveFrom |
Removes the movement settings from the provided agent. Fails if the provided agent doesn't have the movement settings applied. |
RemoveFromAll |
Removes the movement settings from all the active agents. |
TeleportTo |
Teleports the creative_object to the specified Position and Rotation. |
TeleportTo |
Teleports the creative_object to the specified location defined by Transform, also applies rotation and scale accordingly. |