Under review

Lock on by distance?

Aeon FitzGerald 4 months ago in Melee updated 4 months ago 4

I'm not sure if there's a way to do this already, I've tried experimenting but couldn't figure anything out so far.

Maybe you guys could implement a lock on by distance in the melee module, it would be useful for multiple enemies.

Unity version:
Game Creator version:

Hi Aeon, there is a Condition for this on the Hub to download. 

I use this for enemies to follow and when they are within distance, the set target (local on) to the player. You could use this for the Player and multiple enemies, but you would need to be creative about how you trigger it. 

Hope this helps

Okay, i figured something out, thanks. 

Under review

I may add a Lock onto target feature on the Melee module. Despite being something that can be done using Actions and triggers, this is a recurring question and might simplify the process.


yeah, I actually figured something out with list variables and gathering components by distance, maybe I could make a video...