Black Ops III

CanPlayerPlaceTurret

Try to place a Turret where the player is looking. It'll return an array containing the placement "result", "origin", and "angles".

Example:

placement = level.player CanPlayerPlaceTurret()