4 years later and this is still helpful thanks btw now i can make my horror game monster!
@johnmannp4 жыл бұрын
Thank you so SO much for these tutorials! :)
@virostep70627 жыл бұрын
I was watching and I can’t seem to do the AI state part can you tell me the vid that you do that in?
@DangerSideburns6 жыл бұрын
"Unreal Engine 4 - AI Chase Player"
@XXALEXPROXX128 жыл бұрын
Ill wait for the next video , Thanks for the series of AI tutorials you make it in the way new people can understand and thats what i apreciate , nice video bro keep it up :D btw how do i set up that the ai character deals damage to my health bar in my hud? just a little thing that might come in cool , thanks for the tutorial :D
@kanotanakachi62965 жыл бұрын
Im having trouble getting the AIState you have in the video in order to do the patrol
@tristanbaker81982 жыл бұрын
If anyone is having problem where the AI will patrol to one Target Point and then just stay there, look at your AI MoveTo node and plug On Fail into the delay.
@morpex__x4 жыл бұрын
How do I set up a waypoint in bluprint itself ?So you don't have to choose points on stage
@gvm48174 жыл бұрын
Thanks for the video, but how can you do that when you're patrolling when you see us, break the patrol and look for us
@skywap24 жыл бұрын
Thanks You very very nice am French
@reecemurdoch9977 жыл бұрын
If your ai doesn't move to location when it's being spawned in, try adding a delay between 'patrol custom event' and 'Ai MoveTo'
@vivegamespk3 жыл бұрын
It helped me.thanx
@ianadrian38588 жыл бұрын
Hey it's a great tutorial, I find most of your tutorials are easy to follow along :), thanks for the videos, especially the RPG Series. one question though I find there's alot of people using Behaviour Trees to set up the AI, which one is better? I find this one is simpler , and easy to use though.
@crusaderpr76836 жыл бұрын
quick question how do i make the AI walk while patrolling? i am making an AI cop and i want to patrol the area walking instead of running
@JoryStultz12344 жыл бұрын
Slow down the walk speed in the inherited character movement inside the blueprint.
@mfbproduction19718 жыл бұрын
keep it up man your toturial are very helpfull 😊
@sharondowner66597 жыл бұрын
I appreciate the tutorial!!!
@jyotirmaysharma17425 жыл бұрын
I want to know how can we switch the state of AI from patrolling to chasing when it sees the actor?
@gvm48174 жыл бұрын
Hi. I can add onseepawn to any of the actions, and where is it placed, for example when patrolling, if it sees me it follows me? were I add the node.. thanks.
@michelsantos42363 жыл бұрын
TY friend,
@dualperceptiongames7 жыл бұрын
Hi Jackson, great tutorials. I Was wondering though, is there a way to get The actor to turn in place before making their next move? It doesn't seem to be an issue on your example as the character is sprinting around but in mine they are walking slowly and it looks a little odd with them snapping to a direction. Anyway, keep up the good work! D
@MistahX995 жыл бұрын
How did you get it to walk?
@Elizabeth-ez9oz8 жыл бұрын
Loving your tutorials! They are very helpful! I have a question about the patrolling using the waypoints set as an array. Being a developer by trade I hate duplicating code so each copying that multiple times and counting doesn't seem like good coding practice, so I'm wondering if there is a reason you didn't suggest using a for loop. Would this work with a for loop or does the delay function prevent that from working?
@titanicgames47858 жыл бұрын
Hi there. Yes that is precisely the reason. For loops don't work with latent actions like delays (as far as I know). What you'd probably want to do instead is create an array of actors/target points or vectors and create an integer variable for keeping track of which point you're at. Then create a recursive function that gets the current target point (the integer variable), moves the pawn to that target point, then on success it checks if the current point was the last point in the array, and if so then start over but if not then move to the next target point in the array. I'll try to post a video explaining this better soon. I hope that helps!
@MARCOAURELI06 жыл бұрын
how can I get a slower spin before ai gets the random point?
@adrienhartman68114 жыл бұрын
Splendid
@Michael-gf1jn8 жыл бұрын
Thank you! Good stuff!
@creadoc8 жыл бұрын
Thanks much! I was wondering if there is a way to set the destination target points to be random, so that way it seems that the AI don't necessarily appear to have a "Patrol Route"? I like the way you explained it here, and this was just a question that came to mind while watching. Props for explaining the blueprints in a way that shows what is happening when you write them! Sort of explains the theory behind the blueprint.
@titanicgames47858 жыл бұрын
There's a couple things you could do depending on what you want to accomplish. If you want the AI to just wander towards a point but not necessarily at that point, but near it, you can use the same MoveTo function but for the location, drag off and type Get Random Point in Navigable Radius or Get Random Reachable Point in Radius. You'll need to define an origin then which could be the location of your TargetPoints in the world (get your target point reference and then GetWorldLocation from it). Then define a radius around that point (maybe 500). And then change the acceptance radius to something larger like 250 maybe. That might not be what you are looking for but I hope it at least helps you get an idea of different techniques you could use.
@clebo995 жыл бұрын
Hey Jackson. Really strange issue. I've done your ROAM/PATROL/CHASE on probably half a dozen projects and it usually works fantastic. I must be having a brain fart of something. Now, when I do this, all of the AI characters (doesn't matter which I choose) goes to the exact center of the map. It is so strange. Doesn't matter where I place them. I've been migrating these into other projects and the problem occurs. I guess I could start from scratch and see if I'm missing something dumb...but I can't for the life of me figure out what I'm doing wrong. I'm on 4.22. Please help!!!!! Thanks. Chris
@redknuckles76552 жыл бұрын
same issue any luck 2 years later? haha
@phaeton017 жыл бұрын
when you're laying the target points, can you lay out out a whole bunch of them and place them in an array to have the ai randomly pick a different once each time? is it as simple as i just made it sound?
@titanicgames47857 жыл бұрын
Yeah you can definitely do that! And if you want to make it so the AI can't pick one they've already been to, you can add the index of the previous target point in the array to a new array of integers. Then you can compare the values from the integer array with the new indices the AI tries to pick, and force them to go to one they haven't gone to. I can make an update tutorial to this if that'd help
@phaeton017 жыл бұрын
that would help massively, im following them right now but i havent spotted where to place the random integer now
@edensagasta77357 жыл бұрын
Hi thanks for this tutorials but my question is... wheres the next video showing how AI goes from roaming to chase then to attack player? would be really helpful
@r1icogaming9387 жыл бұрын
Hey I'm trying to make a RTS and command an ai to gather resource but it is kinda dificult would you be able to make a tuto for that? please
@WilliansBenites7 жыл бұрын
hello friend .. as I do so that the enemy only walks patrolling ... and when the character enters the enemy's sight .. the enemy changes from walking to running the character ... I hope your quick answer .. the tutorials are excellent thanks
@supritvaidya32706 жыл бұрын
I'm a newbie in this field so I don't know if this is correct or not but you can decrease maximum walking speed so that the character won't run behind you Hope that's the answer you were looking for
@rifat.ahammed Жыл бұрын
Great
@raeesjames38597 жыл бұрын
Thank you so much for this dude! Really helpful tutorials! I have a problem though, my AI roams and delays, but because I'm making a SideScroller game, it wont chase me once I enter the navmesh bounds
@superdeath56315 жыл бұрын
TY
@gabrielign854 жыл бұрын
Yo can u help me make a document of this? like ryt now? 😆