canUseWeapon

canUseWeapon

> Functions

Determines if your entity can shoot the entity with id entity with the weapon weapon from its current cell.

The function checks the following points:

The function does not check if you have sufficient TP for the cost of the weapon or if the weapon is equipped.

Parameters
Return
See as well