void ASCharacter::OnStartTargeting()
{
	if (CarriedObjectComp->GetIsCarryingActor())
	{
		CarriedObjectComp->Drop();
	}

	SetTargeting(true);
}
Example #2
0
void ANimModCharacter::OnStartTargeting()
{
	ANimModPlayerController* MyPC = Cast<ANimModPlayerController>(Controller);
	if (MyPC && MyPC->IsGameInputAllowed())
	{
		if (IsRunning())
		{
			SetRunning(false, false);
		}
		SetTargeting(true);
	}
}
void AAmethystCharacter::OnStartRunningToggle()
{
	AamethystforestPlayerController* MyPC = Cast<AamethystforestPlayerController>(Controller);
	if (MyPC && MyPC->IsGameInputAllowed())
	{
		if (IsTargeting())
		{
			SetTargeting(false);
		}
		StopWeaponFire();
		SetRunning(true, true);
	}
}
Example #4
0
void ANimModCharacter::ServerSetTargeting_Implementation(bool bNewTargeting)
{
	SetTargeting(bNewTargeting);
}
Example #5
0
void ANimModCharacter::OnStopTargeting()
{
	SetTargeting(false);
}
void ASCharacter::OnEndTargeting()
{
	SetTargeting(false);
}
void AAmethystCharacter::OnStopTargeting()
{
	SetTargeting(false);
}
void AAmethystCharacter::ServerSetTargeting_Implementation(bool bNewTargeting)
{
	SetTargeting(bNewTargeting);
}
void ASCharacter::ServerSetTargeting_Implementation(bool NewTargeting)
{
	SetTargeting(NewTargeting);
}
void ASCharacter::OnStartTargeting()
{
	SetTargeting(true);
}