canUseWeapon

canUseWeapon

> Functions

Determines whether 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 whether you have enough TP for the weapon's cost, or whether the weapon is equipped.

Parameters
Return
See also