mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
abilties
This commit is contained in:
@@ -43,6 +43,17 @@ UActorComponent* AActor::GetComponentByClass(class UClass* ComponentClass)
|
||||
return AActor_GetComponentByClass_Params.ReturnValue;
|
||||
}
|
||||
|
||||
float AActor::GetDistanceTo(AActor* OtherActor)
|
||||
{
|
||||
static auto fn = FindObject<UFunction>("/Script/Engine.Actor.GetDistanceTo");
|
||||
|
||||
struct { AActor* OtherActor; float ReturnValue; } AActor_GetDistanceTo_Params{OtherActor};
|
||||
|
||||
this->ProcessEvent(fn, &AActor_GetDistanceTo_Params);
|
||||
|
||||
return AActor_GetDistanceTo_Params.ReturnValue;
|
||||
}
|
||||
|
||||
FVector AActor::GetActorLocation()
|
||||
{
|
||||
static auto K2_GetActorLocationFn = FindObject<UFunction>("/Script/Engine.Actor.K2_GetActorLocation");
|
||||
|
||||
Reference in New Issue
Block a user