![]() |
Eye of the Nile Docs
Everything you need to know to get started!
|
Allows an ability to spawn a projectile where the ability owner (player) is.
Documentation updated 8/13/2024
Public Member Functions | |
override void | Apply (AbilityOwner abilityOwner) |
Instantiate the projectile prefab at the player’s position. (this is part of the problem. If you spawn a projectile inside the player it will just hit the player) | |
![]() | |
void | Apply (AbilityOwner abilityOwner) |
Run by the ability info object when the ability is activated. Must be filled in to instantiate. | |
virtual void | Disable (AbilityOwner abilityOwner) |
Run by the ability info object when the ability is deactivated. Doesn’t have to be filled in to instantiate. | |
Public Attributes | |
AbilityProjectile | projectilePrefab |
Reference to the projectile prefab we want to spawn. | |
int | objectCount = 1 |
Amount of objects to spawn. Hardcoded to 1. | |
Additional Inherited Members | |
![]() | |
AbilityEffectType | AbilityEffectType [get, set] |
Determines how the effect should be applied. | |
override void SpawnAE.Apply | ( | AbilityOwner | abilityOwner | ) |
Instantiate the projectile prefab at the player’s position. (this is part of the problem. If you spawn a projectile inside the player it will just hit the player)
abilityOwner |
int SpawnAE.objectCount = 1 |
Amount of objects to spawn. Hardcoded to 1.
AbilityProjectile SpawnAE.projectilePrefab |
Reference to the projectile prefab we want to spawn.