canUseWeaponOnCell

canUseWeaponOnCell([number weapon], number cell) → boolean canUse
Checks whether your entity can shoot given weapon, targeting given cell.

Determines whether your entity can shoot the cell cell 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