How can I activate the shoot function via script?

Valor

New member
Hi there. I am currently building a simple AI for my game that shoots at the player when he/she is close enough. What is the function that is called when a player shoots? I need this to make the AI able to shoot.
 
Top