Great tutorial man, I'm loving the tutorials they're helping out so much
@blinkingnora7 жыл бұрын
How would you make an AI roam around until it spots you, where it then begins chasing you down?
@mantronicsenterprises7 жыл бұрын
Just add an "OnSeePawn" node to the AI BP and set it up using the "AIMoveTo" node
@grazorchaos1884 жыл бұрын
@@mantronicsenterprises theres nothing called ad onseepawn though
@akame30004 жыл бұрын
@@grazorchaos188 did you add the component?
@avinashprabhakar73677 жыл бұрын
at 5:53 in the menu I am not able to find switch on EAIState. Does anyone know why it is not there?
@avinashprabhakar73677 жыл бұрын
NVM seems like closing and reopening ue4 made it work.
@vincentfallen5 жыл бұрын
i love ur videos, easy to understand.
@ia_fortune6 жыл бұрын
you could do "switch on int" setup AIState to "int" exec to 0 . 1. default it's work
@elijahgames1922 жыл бұрын
when I have multiple enemies in the level that chase the player they get crowded in a hallway or corner, how could I fix this problem?
@jake87irwin3 жыл бұрын
Anyone else have trouble adding the AI into a new Level? I'm in the same project just created a new level. Add in the same 3rd person character, the AI Enemy, and the Nav Mesh Bounds. When I hit play the AI just stands still. I tried migrating the AI content to another project and same thing happens.
@ripchan14135 жыл бұрын
when the actor gets to me nothing happens the explosion doesn't happen nor does the sound? any advice? I do not have a skeleton mesh I am using a sphere
@thatonegamedev54472 жыл бұрын
great video could you possibly give it animations when it hits you
@justchicknugget2 жыл бұрын
nice tutorial!
@Preirin2 жыл бұрын
For some odd reason, the first time I did this the AI chased me just fine. When I added the explosion, etc., he stopped chasing me. After several attempts to correct this, I deleted everything and started over fresh. he roams just fine but he will not chase me no matter what I do. Anyone else have this issue?
@gamebossbort65854 жыл бұрын
i cant find EAIstate at all.
@basicaccount34144 жыл бұрын
I tryed to make my AI chase other AI it dosen't work because UE4 is not reading properly
@habibismassacre4 жыл бұрын
I have a AI Roam And A AI chase the Roam works but the chase doesn't could you please help?????
@AmulBhatia857 жыл бұрын
How can we change the AI movement speed ?? or can we change the animation to walk or any other animation ?? How please make a tutorial on this also.. Thanks
@SolitarySubstructure7 жыл бұрын
Select "character movement" above "pawn sensing" in BluePrints. On the right side of screen you will see "character Movement (general settings)
@TheElephantGamer1507 жыл бұрын
E Curb how do i make it walk instead of run
@rifat.ahammed Жыл бұрын
Thank You
@jawsomeproductions7 жыл бұрын
Thank you for posting this...how do we make the AI stop chasing the player within this blueprint? Can't figure it out for the life of me.
@gitnisEg7 жыл бұрын
In the Chase State section right between the Delay and Chase Player you have to create a Branch. Just like in the beginning of the blueprint you had Pawn Sensing connected to Sensing Updates which is connected to Branches condition, so copy these two and paste it next to your new Branch and connect it to its condition. From Branches True statement connect it to Chase Player, from False statement drag and call Patrol. Not sure if it should be like this but it worked for me.
@unrealenginecharacters89025 жыл бұрын
Hi.....How can i make those AI to run more slow than me ???
@sridilox6 жыл бұрын
the roam is working but the chasing isn't ?
@rubenpinheiro62886 жыл бұрын
the exact same is happening to me. He roams around the place I set up. But when I change it to chase he just stands there and do nothing. I'm not sure what I am doing wrong.(EDIT) I've noticed that replacing Event BeginPlay for Event Tick it fixed it and the AI started to follow me (however, I've only used Even Tick for the chase, as the roam was good I left it has Event BeginPlay, also if both are on the chase will overcome the roam because Event tick sends a signal every second to the character).
@meowkadoodlegarfield12114 жыл бұрын
@@rubenpinheiro6288 Thanks bro, you save my life XD
@sensenmannka5327 жыл бұрын
can i change the moevementspeed???
@AmulBhatia857 жыл бұрын
Hey did you get the solution ?? If yes, can you tell how ?? and how can i change the default run animation of the AI to Walk or any other animation ??
@SolitarySubstructure7 жыл бұрын
Select "character movement" above "pawn sensing" in BluePrints. On the right side of screen you will see "character Movement (general settings)
@hurtlockergaminghd38227 жыл бұрын
could you add a attack one on the E-num next plx ? XD great tutorials.
@darikostov95837 жыл бұрын
pls help me i need to know how to make character chase character
@CreeperSlenderman6 жыл бұрын
how to easily make a illusion effect make a coin rotate and it will rotate both sides 0:00 done
@nf23036 жыл бұрын
oh shit you are right
@hex.vagyok5 жыл бұрын
Awesome thanks! How can we achieve that AI stop following us after a certain distance?
@DonMatek5 жыл бұрын
I've added a little thing to my AI char that makes him move closer to get in shooting range. Simply added a new custom event that has a branch checking a condition. Add a new float variable. This is your desired shooting distance. Event Check Range - > Branch Get distance to (other actor is the actor you cast to On Pawn Sense) compare the return value less or equal to your new variable and connect it to the branch. Then you decide what you want to do when distance is true or false. You can have your AI stop using "Stop Movement Immediately" and then have him return to say his spawn point. If you want to make this work you must set the spawn point. Simply add a new vector variable and a setter to your begin play in the AI event graph. You just use AI move to and as a destination use your new vector variable. Works great for me when my AI receives too much damage and then he runs back to his spawn point. Good luck.
@Tempo-6 жыл бұрын
i cant find switch on EAIstate, i even closed and reopened it many times, pls help?
@elreyenelnorte64286 жыл бұрын
Did you find a solution?
@Glewstik5 жыл бұрын
Trying to set this up for VR and I can't get it to work does anyone have any advice?
@ctphamster27004 жыл бұрын
Did you find out how to get it to work? I'm having the same problem.
@akame30004 жыл бұрын
@@ctphamster2700 what exactly
@dhruvpaidukle8354 жыл бұрын
in First Tutorial Ai is not moving
@yaboyconnor22406 жыл бұрын
Hey Titanic Games, how are ya?? I have a question for you & am kinda struggling to find an answer... How do you make ai make a sound when it spots the player?? Sorry I’m kinda new to UE4. Cheers!!🍺👍🏻👍🏻👍🏻 Edit: Also, can anyone else help?? Any guidance is HIGHLY appreciated👍🏻👍🏻👍🏻
@LrdOfNightmares6 жыл бұрын
Connor Day Hey Connor! Really simple. Go to the event graph, select the PawnSensing component, right click into the graph and type "AddOnSeePawn" then "cast to" your character, connect the execution pin and for the Pawn pin connect the Object of the cast node, use a "DoOnce" node (if you don't the sfx will loop infinitely), and then use a "PlaySound2D or PlaySoundAtLocation" select your sound and you are done!
@yaboyconnor22406 жыл бұрын
LrdOfNightmares thank you for being so helpful & nice!! Would you mind providing a screenshot of the blueprint for this?? Sorry once again I’m kinda noob & don’t want to ask for too much!!
@LrdOfNightmares6 жыл бұрын
Connor Day Sure, I'll show you in a bit!
@LrdOfNightmares6 жыл бұрын
Check it out! ibb.co/cwJY9J
@yaboyconnor22406 жыл бұрын
LrdOfNightmares great thank you!! I’m gonna try it out to make sure it works👍🏻👍🏻👍🏻
@Michael-gf1jn7 жыл бұрын
Thank yoU!
@lordew94767 жыл бұрын
Отличные уроки
@Ali1077 жыл бұрын
You just made a creeper....
@basicaccount34144 жыл бұрын
I hate Minecraft
@khurramsaeed82957 жыл бұрын
can you answer 1 question of mine? i don't have time to chat or make friends on chating sites but just to let it knows it about weather it is right way to treat or not ,this question is nothing to do by your tutorial and sorry please don't think i am gay or something odd kind of person .So my question is if i fall in love with a guy because of his too much extraordinary kind nature and as example by someone i get inspired too much so if i try to kiss him with no bad evil feelings but pure heart thoughts in my heart ,does this allowed between two male human beings by law ofcourse it is not the gay kissing it's the kiss of love of respect?