getWeaponTargets

getWeaponTargets([number weapon], number cell) → array<integer> targets
Lists the entities that would be affected if given weapon were used on given cell.

Returns the entities that will be affected if the weapon weapon is used on the cell cell. Be careful: the caster will be part of the result if the weapon has an effect on its caster, like the J-Laser for example.

Parameters
Return