Get the LocationToSpawnLoot values from LootSpawnLocation_Athena

This commit is contained in:
PRO100KatYT
2023-05-21 18:36:39 +02:00
parent 33433ea9de
commit d6db4826c6
3 changed files with 16 additions and 1 deletions

View File

@@ -105,6 +105,15 @@ FVector AActor::GetActorLocation()
return ret;
}
FVector AActor::GetActorForwardVector()
{
static auto GetActorForwardVectorFn = FindObject<UFunction>("/Script/Engine.Actor.GetActorForwardVector");
FVector ret;
this->ProcessEvent(GetActorForwardVectorFn, &ret);
return ret;
}
FVector AActor::GetActorRightVector()
{
static auto GetActorRightVectorFn = FindObject<UFunction>("/Script/Engine.Actor.GetActorRightVector");