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)<dictates>: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
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. |