AI move before player (help)
I wanna make the AI move after the player start to moving or when the race start. I have no idea how to do that. I'm new to the code area and it's been very painful. https://www.youtube.com/watch?v=PZNYUO7Rk6w&feature=youtu.be
Upload project: https://www.mediafire.com/file/ftvnz1x1aibkre8/Teste.rar/file
you could have the other cars movement component disabled then enable it when certain conditions are met, for example when your players velocity is greater than 0. show below is how this could work though this is just a test setup and i do not recommend using the exact setup. basic idea here is to have a timer or something that checks the players velocity then activates the opponents. this could also be done with a event called from the player or a interface call.
another method could be to disable all cars movement component then just activate them all at once so the player and the opponent can begin at the same time. you could easily inset this script right after the go is called.
note i tested with characters and not the vehicle template so things may work a bit differently.
answered Jan 16 '19 at 01:55 AM
I uploaded my project. I'm stuck on this shit for 3 days now https://www.mediafire.com/file/ftvnz1x1aibkre8/Teste.rar/file
Follow this question
Once you sign in you will be able to subscribe for any updates here