top of page
作家相片Sheu Suki

Event BeginPlay Problem


This is what should be shown after testing the game. The UI and Mission Hints. Actually, the Mission Hints should not write on "Event BeginPlay". But I need to test whether the function is working, so I wrote it here first.

However, after I do something and try to run the game. I suddenly found a terrible problem. I cannot control my character and the UI does not appear. Also, the total magic ball turns to zero. The same problem also appears at the PacSlime MiniGame Map.

After a long time testing. I found that the function written on "Event Being Play" does not work.


Then 0: As my character opened the Simulate Physics. Therefore, my character can not move if "Set Simulate Physics" does not run.

Then 1: The UI of RPGHub do not show

Then 2: The Total Magic Ball does not show correctly.


However, all my other NPC's function in "Event BeingPlay" are still working. I don't know why it suddenly can't work, so I found solutions from the internet. From the Internet, they mainly talk about it because of the Game Mode. However, I do not touch the Game Mode before when I test the game. I still have a try but I seem nothing change.


As it is more terrible if the PacSlime Gaming Map cannot run the function written in "Event BeingPlay". Therefore, I did a long time test on this map first. After some testing and running. The UI suddenly appears on PacSlime Gaming Map. But actually, I didn't know what I did to make it successful. But when I turn back to Slime Village Map and run the game, It still can't work.


After a long time testing again. I found that it may be because of the saving sequence. The player's BP must be saving first. That means if you write something new in the player's BP (In my cast, it is Main_Slime_BP) and save. You need to save another BP who has used "Event BeingPlay". In PacSlime Gaming Map, there are only two actors using "Event BeingPlay". Therefore, this map suddenly runs "Being EventPlay" successfully after my trying.


As I made more and more NPC who have used "Event BeingPlay" in Slime Village Map. Therefore, the player's actor can easily be covered. In conclusion, the player's BP can not be the last saving sequence. Actually, other actors who save last also can't run their "Event BeingPlay". Therefore, I will save the "Lost child" finally after I save another actor as its "Event BeingPlay" does not need to move.

Actually, the slime who plays footballs always can't move when I'm making, but I thought I made the wrong programming so it can't work. That means I wasted lots of time here.


I don't understand whether it is a normal phenomenon. I think it is strange. Maybe there is a function to set the sequence of "Event BeingPlay" rendering. But it has no problem with the game play now, so I will use the solution I found and hold it first.



Comentários


bottom of page