Unknown

From DarkAI

AI GET ENTITY CAN FIRE

This command will return true if the entity has a target, can see it, and the target is within the fire angle set with AI Set Entity Fire Arc. Entities will not fire automatically as there are many different ways to represent an attack so you will need to create your own bullets and move them.

Syntax
return integer = AI Get Entity Can Fire ( Entity Number )

Parameters
Entity Number, The id of the entity you want to know can fire.

Return
1 if the entity can fire, 0 if not.