I am incorporating my real life interactions with javelinas in the new Bruce DelReno mystery.  I found a piece I wrote to my Mom two years ago, which explained my experience with the pests since she had never seen any.

THE JAVALINA (have-a-leena)STORY. 
    For a time after we moved to Arizona, we were always on the lookout for wildlife that we didn't see in New England. You know, coyotes, roadrunners, lizards, bald eagles, scorpions, armadillos, rattle snakes, and of course, javalinas.  We have seen, through the years, all of these animals; even mule deer, gray fox, quail, buzzards, king snakes, jackrabbits, and Canadians [for Mom's benefit, an inside joke].  We are still thrilled when we see a family of quail. Or a mule deer, or even a coyote. We were always excited to see javalina on the golf course or in the street.  
Javalinas are not boars or related to pigs. They are peccarys, but they still stink. They usually don't bother people; just look at you and ignore you. But, if provoked will defend themselves and their young.  A man in Sedona was attacked this month. Recently a gang of them have visited our property often in their nightly rounds.  We planted pansies in several large pots placed along the walk to the front door.  We found the plants pulled up, eaten and dirt all over the walk.  We replanted. Same story. After a couple of weeks we planted portulaca, small succulents with rose-like blossoms that do well in the summer heat.   Same story.   Boy, the javalina really like the portulaca blossoms, stems and roots.  We planted again.   I know, insanity, expecting a different result. 
This time we were up at 10 PM when they arrived.   Lights on and shouting finally scared them off.  Next night we left windows open so our dog, Ceile could hear and smell them. They arrived at midnight.   Not after the flowers though.   In the back yard eating birdseed off the ground under the bird feeder. This was time for Tiger Woods/Nolan Ryan action.  We got a bunch of golf balls and started throwing at the critters. This happened twice at midnight, and once at two AM.  We're sure they set their clocks for when we're not expecting them.  Dratted varmits.  We only hit two with golfballs, but the balls landing in the area scattered them.  Usually 2 or 3 were at the birdseed.  Turn on the light, shout, they turn and look at you. Throw a ball, they scatter about 20 feet behind the bush, then walk back looking at you.  We put cayenne pepper around the flower pots.  Also mothballs in and around the pots.  We installed a motion detector to turn lights on.  We got a power squirt gun.   Put a little amonia in the water and squirt the damn things.  They don't like that, but I didn't get close enough for the stream to reach very often. 
One night there were 6 adults (40 to 75 lbs) and two little babies the size of a cat in the front yard. They were gone before we could throw the third golfball. Two nights in a row now....no intrusion. 
Fingers are crossed; but cayenne and mothballs are in place.    Golfballs, lights and squirt gun are by the door.