This video was helpful!! A lot of thanks from Japan. I have one question. What's does it mean ”AActor * Target( 2:03 )"? Is does have any role on this project? I'd appreciate it if you could answer my questions.
try to close the engine and rebuild the project mb that will help. Or try to debug your code, coz i tested right now and it's called more than one time
@@Owl_UA_Unreal I did that but still don't work :/ My loop is : for (auto& element : Map) { //index = element.operator=(); Key = element.Key; Value = element.Value; OutCome = EOutcomePins::LoopBody; GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Red, TEXT("Test From C++")); } The Test From C++ fire 5 times (bc my map has 5) but a print string after the LoopBody fire only 1 :/
i tested with a simpler loop and same result : for (int i = 0; i < 5; i++) { OutCome = EOutcomePins::LoopBody; GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Red, TEXT("Test From C++")); }
Updated to Unreal 5.3, in Patreon.
www.patreon.com/posts/ue4-c-custom-45256996
thx
Thank u! Video is very helpfull !!! )))
Thank you!
Cool !!!
Thx
This video was helpful!!
A lot of thanks from Japan.
I have one question.
What's does it mean ”AActor * Target( 2:03 )"?
Is does have any role on this project?
I'd appreciate it if you could answer my questions.
HI, you can try without that AActor variable, but i think you will get an error, coz you need to have a reference to the Parrent in UE4 class AActor.
@@Owl_UA_Unreal Thanks for your response.
I'll try it.
Hey, i called the Outcome Success in a loop but it fire only one time :( Do you know what is the problem ?
try to close the engine and rebuild the project mb that will help. Or try to debug your code, coz i tested right now and it's called more than one time
@@Owl_UA_Unreal you mean rebuild the solution ?
@@flash4297 yes
@@Owl_UA_Unreal I did that but still don't work :/ My loop is :
for (auto& element : Map)
{
//index = element.operator=();
Key = element.Key;
Value = element.Value;
OutCome = EOutcomePins::LoopBody;
GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Red, TEXT("Test From C++"));
}
The Test From C++ fire 5 times (bc my map has 5) but a print string after the LoopBody fire only 1 :/
i tested with a simpler loop and same result :
for (int i = 0; i < 5; i++)
{
OutCome = EOutcomePins::LoopBody;
GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Red, TEXT("Test From C++"));
}