Epic Developer Community Forums
How to create a simple BP for an enemy to slow his movement speed down when he is going over a box collision which should trigger this ?
Development
Programming & Scripting
question
,
unreal-engine
pezzott1
(pezzott1)
March 18, 2023, 11:25pm
21
If you do this:
image
874×210 66.9 KB
It will subtract on every instance overlap even when the actor has not exited all volumes. Try placing a print node after to see as the value changes.
Try storing the default value to make it a fixed number:
image
1920×759 119 KB
Result:
show post in topic