ShootProjectile - golden-coconut-studio/TikiAdventuresWiki GitHub Wiki
-
This task allows an AI to spawn a projectile.
-
Properties:
- TargetObject: AIController->Target (this is the target of this AI. If there is not target object, this AI will not spawn a projectile) - ObjectTospawn : null (Modifiable in blueprint. This is the object you're going to spawn. technically, it doesn't need to be a projectile)
-
Functionality:
- Detects whether its blackboard has a target to give - If so, it gets the world, and the world attempts to spawn a projectile at the AI's location. - Outside of code, projectiles have their own projectile mvoement component from UE4, thus we don't need to transform its position through code