SHARECOMMENTMORE

Orlando, Florida (USA TODAY) --A former student at the University of Central Florida had amassed four explosive devices, two guns and hundreds of rounds of ammunition before killing himself in the dorm room from which he was soon to be evicted, police said Monday.

UCF Police Chief Richard Beary said writings found in the room indicated that the student, James Seevakumaran, 30, had planned an attack on the campus.

"We think the fast response made him change his mind ... and he took his own life," Beary said. "I think, all things considered, we were very blessed here at the University of Central Florida."

Beary said campus police received a fire alarm call at about 12:20 a.m. Monday. While responding to that call, police received a 911 call from a dorm resident saying Seevakumaran had pointed a gun at him.

Beary said the dorm resident closed his door and hid in his bathroom until police arrived to rescue him. Officers at the scene then found the body of Seevakumaran.

PHOTOS: UCF dorm evacuated

The explosive devices were found inside a bag in the dorm room, Beary said. An assault weapon, another gun and the ammunition also were found.