The alleged gunman in Thursday’s active shooter situation had been plotting the shooting for some time, according to police.