Main API implemented by Fortnite characters.
Verse using statement |
using { /Fortnite.com/Characters } |
Exposed Interfaces
This interface exposes the following interfaces:
| Name | Description |
|---|---|
positional |
Implemented by objects to allow reading position information. |
healable |
Implemented by Fortnite objects that can be healed. |
healthful |
Implemented by Fortnite objects that have health state and can be eliminated. |
damageable |
Implemented by Fortnite objects that can be damaged. |
shieldable |
Implemented by Fortnite objects that have shields. A shield is a method of protection that can take incoming damage while leaving the health state unchanged. |
game_action_instigator |
Implemented by Fortnite objects that initiate game actions, such as damage and heal. For example, player or agents.
Event listeners often use |
game_action_causer |
Implemented by Fortnite objects that can be passed through game action events, such as damage and heal. For example: player, vehicle, or weapon. Event Listeners often use |
Members
This interface has functions, but no data members.
Functions
| Function Name | Description |
|---|---|
GetAgent |
Returns the agent associated with this |
EliminatedEvent |
Signaled when this |
GetViewRotation |
Returns the rotation where this |
GetViewLocation |
Returns the location where this |
JumpedEvent |
Signaled when this |
CrouchedEvent |
Signaled when this
|
SprintedEvent |
Signaled when this
|
IsActive |
Succeeds if this |
IsDownButNotOut |
Succeeds if this |
IsCrouching |
Succeeds if this |
IsOnGround |
Succeeds if this |
IsInAir |
Succeeds if this |
IsInWater |
Succeeds if this |
IsFalling |
Succeeds if this |
IsGliding |
Succeeds if this |
IsFlying |
Succeeds if this |
PutInStasis |
Puts this |
ReleaseFromStasis |
Release this |
Show |
Sets this |
Hide |
Sets this |
SetVulnerability |
Control if this |
IsVulnerable |
Succeeds if this |
TeleportTo |
Teleports this |
GetEntity |
Returns the entity associated with this |
GetLinearVelocity |
Returns a ‘fort_character’s linear velocity in meters/second. |
SetLinearVelocity |
Set a ‘fort_character’s linear velocity in meters/second. Will not do anything if physics is disabled. |
ApplyLinearImpulse |
Apply a linear impulse to a ‘fort_character’ with units in Newton*seconds. Will not do anything if physics is disabled. |
GetMass |
Returns a ‘fort_character’s mass in kilograms. |
ApplyForce |
Apply a force to a ‘fort_character’ with units in Newtons. Will not do anything if physics is disabled. |