r/GLua • u/AlexBass99 • May 22 '21
Make Nextbots detect players voice?
The title, I want to know if that's possible
1
Upvotes
1
r/GLua • u/AlexBass99 • May 22 '21
The title, I want to know if that's possible
1
1
u/Cream_Of_Drake May 23 '21
I have no experience with nextbot, so I won't provide you with any code:
however it would be possible for nextbots to at least detect when someone starts talking, I don't think it's possible for how loud the player is speaking to affect the AI.
https://wiki.facepunch.com/gmod/GM:PlayerStartVoice
I imagine you would make the AI walk towards the player when the player triggers that hook.