getCellToUseWeapon

getCellToUseWeapon

> Functions

Returns a cell where your entity can use the weapon on the entity. The returned cell is not necessarily the closest. If no cell is possible, the function returns -1.

Example to use the Laser:

Parameters
Return