It's a bit basic but it works, for ai to shout something at the player, took some time off making the game to actually tackle a script for myself. Can be expanded to as many lines as you need
just need to get the ai to beckon the character over now :/