Fortnite Template Abilities offer a simpler, timeline-driven way to build abilities. Instead of writing custom activation logic, you select input actions that trigger the ability, use automatic targeting queries, and build out timelines full of effects that play when the ability activates.
Due to the timeline integration, template abilities are predictive. The timeline is known in advance, so effects such as animations, sounds, and projectiles can begin immediately. This improves how an ability feels by minimizing the impact of network latency.
Core Concepts
Every Fortnite template ability consists of:
Input Action - The action or button that triggers the ability.
Target Query - The targeting mode that determines the entities the ability affects. This includes reticle, area of effect, and self-targeting.
Ability Elements - The list of timeline elements that execute over the ability's duration. Each of these elements is either a point or a span element.
Point Element - Executes once at a specific time. For example,
fort_ability_heal_pointheals once at the given time.Span Element - Remains active between a begin and an end time. For example,
fort_ability_animation_spanplays an animation between two time periods.
Item Integration
Template abilities are granted to players through item entities. Any item entity granting template abilities requires the following components:
item_component- Defines the entity as an item of a given category set in its properties.fort_item_ability_component- Lists the abilities that the item grants. You can grant abilities that function while the item is in the inventory or only while equipped.
See Template Ability Quickstart for a detailed implementation example.