I’m having a problem, and it’s that I already have a power up that makes the player go faster, basically increasing its max walk speed for a certain amount of time, and what I wanted to do was a power up with the inverse effect but targets only the enemy AI, I thought of the logic of how to do it which in principle should be the same as increasing speed only this time setting a lower value instead of a higher value for the max walk speed, but, the power up doesn’t do anything, it gets destroyed when the player goes through it, but it doesn’t apply the effect in the enemies
We can’t know what might be the issue without you sharing your attempt with some screenshots of your blueprints. (make sure to include all the related parts of this task, and if you’re not able to post a certain amount of images on this platform, you can include them in a video, upload it to YouTube and send it’s link )
Though the only thing you’d need to do would be just accessing the movement components of all of the bots, getting the max walk speed variable from the movement component and setting it’s value as you desire.
If you were already doing that however, please check if the value get’s set successfully, if so does it get reset after a short while, does the set max walk speed node even get executed at all, and include the results in your next post. You can consider using Print String nodes or breakpoints as debugging methods in your investigation. Also please explain how did you come to the conclusions you’ll state in your next post by providing the screenshots / video demonstrating your debugging process as well.
Hi, I didn’t know I could actually upload pics of it, but, here is the code, the first image is for the coding inside of the enemy bots AI, and inside of the power up BP I just called the instance for said action to be the effect that the power up has, hope you can help with this additional info
I’ll need these to be able to help you further