Lives in the scene graph and is the high level description of an ability. Knows if an ability can run, cooldowns, distance and targeting requirements etc...
Verse using statement |
using { /UnrealEngine.com/Abilities } |
ability<public>(context_type:ability_context, ability_effect_type:ability_effect):ability(context_type,ability_effect_type)
This function is a parametric type, meaning it returns a class or interface rather than a value or object instance.
Parameters
ability takes the following parameters:
| Name | Type | Description |
|---|---|---|
context_type |
ability_context |
|
ability_effect_type |
ability_effect |
Generated Class
ability returns the parametric class ability(context_type,ability_effect_type).
Attributes, Specifiers, and Effects
Attributes
The following attributes determine how ability behaves outside the Verse language. For the complete list of attributes, see the Attributes section of the Specifiers Page.
| Attribute | Arguments | Meaning |
|---|---|---|
available |
MinUploadedAtFNVersion := 4130 |
|
experimental |
This feature is in an experimental state, and you cannot publish projects implmenting it. The API for this feature is subject to change and backward compatibility is not guaranteed. |
Specifiers
The following specifiers determine how you can interact with ability in your programs. For the complete list of specifiers, see the Specifiers Page.
| Specifier | Meaning |
|---|---|
public |
The identifier is universally accessible. You can use this on modules, classes, interfaces, structs, enums, methods, and data. |