Hello, people!
Still fighting against ceaseless projectile spawning. I tried to change “FireRate” variable in BP and cpp and in game details, but my turret still fires like a laser!
Could you at least tell me how to debug the line below?
GetWorld()->GetTimerManager().SetTimer(FireRateTimerHandle, this, &APawnTurret::CheckFireCondition, FireRate, true);
(in lecturer`s Git code it is identical), but I want to know its output.
UE_LOG doent want to take a value from "FireRateTimerHandle", tried: .ToString(), than %f/%i, but compiler doesn
t want to finish.
P.S. I somehow randomly highlight words, sorry for that, don`t know how to fix it.