Target Lock Tutorial - Unreal Engine 5.2

  Рет қаралды 3,685

Lisowi

Lisowi

11 ай бұрын

Hey there, in this video I will show you how to create a target lock system.
Sword Asset by: Sarath K
sketchfab.com/3d-models/fanta...
Shield Asset by: Sergey Egelsky
sketchfab.com/3d-models/shiel...

Пікірлер: 14
@neuralsixty3852
@neuralsixty3852 7 ай бұрын
There's a bug in your TargetLock event where you're checking isTargetLocked with a Branch. In case the Branch returns false, you're setting isTargetLocked before the Sphere Trace runs. This leads to a case where you have to press the input twice to make the target lock run again if the Sphere Trace fails to find any targets. To fix the bug, you have to set isTargetLocked only after the Sphere Trace succeeds and you set the new HitActor. Other than that, this is how I learned to do target locking, so nice blueprint. Cheers!
@aneskatzaev9152
@aneskatzaev9152 2 ай бұрын
if u change the first branch with a flip flop a will be the one connected to the sphere trace and remove the check from the b istargetlocked the and it should work
@inuxys
@inuxys 8 ай бұрын
nice and clean blueprint, thank you!
@lisowi.
@lisowi. 7 ай бұрын
Glad you found it helpful
@roydash5657
@roydash5657 11 ай бұрын
I am needs this tutorial! Thank you so much you helping me
@aneskatzaev9152
@aneskatzaev9152 2 ай бұрын
if u change the first branch with a flip flop a will be the one connected to the sphere trace and remove the check from the b istargetlocked the and it should work
@SHANE-jc2ln
@SHANE-jc2ln 10 ай бұрын
Hey man amazing tut. But I have a problem, I can lock on and lock off but If I wanted to lock on again it wouldn't lock on again. Any fixes
@lisowi.
@lisowi. 9 ай бұрын
Hey there, you might have missed a bit, the code was working correctly for me I could toggle the lock on and off as many times as desired. Double-check and let me know.
@timestampterry4820
@timestampterry4820 8 ай бұрын
in the beginning where there are two set is target locked you just want false checked and true not checked that should fix it if you did everything
@adrenalingames4208
@adrenalingames4208 7 ай бұрын
If the enemy is dead, it automatically switches to an empty space until I turn it off myself, everyone who has the target system, no one has fixed this bug. Any suggestions on how to turn it off when a mob dies?
@user-wr5fh1xg1d
@user-wr5fh1xg1d 2 ай бұрын
Set a boolean for when enemy is dead and at the end, set the hit actor to false if enemy is dead
@garonbos1452
@garonbos1452 3 ай бұрын
THIS DOESNT WORK FOR ME
@gizil6487
@gizil6487 3 ай бұрын
Because he does everything wrong and this is an example of how bug-mechanics are created in games..
@aneskatzaev9152
@aneskatzaev9152 2 ай бұрын
if u change the first branch with a flip flop a will be the one connected to the sphere trace and remove the check from the b istargetlocked the and it should work
Blocked Area Tutorial - Unreal Engine 5.2
6:45
Lisowi
Рет қаралды 586
Which one is the best? #katebrush #shorts
00:12
Kate Brush
Рет қаралды 20 МЛН
Fan/Propeller Tutorial - Unreal Engine 5.2+
18:57
Lisowi
Рет қаралды 1,1 М.
Minimap Tutorial - Unreal Engine 5.2
5:49
Lisowi
Рет қаралды 5 М.
How To Damage And Heal The Player In Unreal Engine 5 (Tutorial)
15:43
Morph/Transform Tutorial - Unreal Engine 5.2
9:51
Lisowi
Рет қаралды 4,2 М.
Unreal Engine 4 - Enemy Targeting System & Switch Attack Stance
12:13
Fighting Tutorial - Unreal Engine 5.2
12:19
Lisowi
Рет қаралды 1 М.
Unreal Engine 5 RPG Tutorial Series - #14: Equipment System
26:24