This is a great tut for the absolute basics of point and click BUT THIS TUT MISSES 1 KEY STEP TO BEING PRACTICAL/IMPLEMENTABLE: IT DOES NOT STORE YOUR CLICKED TARGET AS A "TARGET" TO BE CALLED FOR OTHER FUNCTIONS. This means it's only useful with 1 target on screen, (which for a top down point and click is...useless). I understand it's a quick tut but having to go back, and sort this sort of mechanic out and redo all the basics this tut laid out is brutal. The mechanic/logic coded as explained is only good for short term validation that you "did the thing" and is not useful in practice. I mean, i guess i learned the building block of the mechanic, but it's frustrating to find tuts like this that "assume" you'll never implement it beyond the presented scope/context.
20:39 According to the logic of your bluprints, it turns out that you will attack the enemy, even if you do not click anything on the mouse. Just when the enemy himself approaches you, the overlap event will work and the player will make an attack. It's funny that I saw this video only after I had done such management myself for two weeks)) Our logic is very similar)
You probably figure this out but good to let other people know. You could always just set the characters speed to be something super fast. Like 10,000.
Man i am having trouble with my view port in 4.26.2 its completely black when i opened again after i saved the project Does anyone have any solution?
Год назад
Hi there, the tutorial is absolutely fantastic however, I encountered an issue. My Player character does not show the attack animation when clicking on the enemy. I have been rewatching the video several times to make sure there is no errors and it still doesnt work.
@RobertGebczynski if you've still got the project, open the animation blueprint for your character and double check your state machine is in a slot 'default slot' before the output pose. Same thing had me for a while when I was doing it yesterday.
Hi .i have a question. In this video ( ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-aT2zNLSFQEk.html ) when he declare lastMove in if statement i realy dont understand because lastMove has no value and he use it minus with Time.time in condition and then assign it with Time.time . I realy dont understand what is the meaning of lastMove in condition when it has no value. Tnx
Opa, provavelmente você já deve ter achado a resposta (e infelizmente estou falando em português), mas quando ele declara LastMove, a variável realmente está vazia, ou seja, não foi inicializada. Porém, no if statement que ele criou ele preenche o vazio desta variável inserindo o valor de Time.time dentro da variável LastMove. Veja que Time.time retorna para você o valor em segundos desde que o seu jogo iniciou, então digamos que seu jogo tenha iniciado há 2 segundos, a fórmula ficaria: 2 - 0 > 0.25? sim, logo insira o valor de Time.time dentro da variável LastMove. A partir da primeira vez que essa função for chamada, LastMove não será mais 0.
dude, please do the movement with w, a, s and d, and wherever we click with the mouse, it will shoot in that direction, so only the character will return to the area clicked with the mouse where he stopped. Please make this tutorial.