how make one enemy alart other enemy in area
There are a few ways of doing this. If your game is AI heavy then I'd suggest using a combination of Behaviour Trees (because they are awesome), and probably the AI Perception and Sense system (this is a decent introduction: http://isaratech.com/ue4-ai-perception-senses-and-stimuli-source/). You will need a reasonably level of C++ knowledge and quite a bit of patience for this though as it's not that well documented yet. You can have one AI alert another by making a custom 'alert' sense, or you could do something like the more straight forward method below.
If your game is light on AI, then you could just have all AI broadcast and listen for events (https://docs.unrealengine.com/en-us/Programming/UnrealArchitecture/Delegates/Multicast) The event could pass around the AI which wants to send the alert, and all AI which receive it can then interrogate it to find location etc and determine if should also go into alert.
In either case, satisfying AI can take a while to make, so start simple and build up. Make sure it's always easy to make changes because you'll be making a lot of them as your game progresses!
answered Jul 16 '18 at 09:40 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here