Need help setting up radio button
I'm very new to scripting and stumbling at the basics. I followed a script tutorial from Louis Marcoux on how to animate the construction of a building. It's a simple script that rotations and unhides an object or multiple objects and added keyframes.
The problem I have is a want to link it up to a dialog box and control the timing and the direction of rotation. I've made it control the timing but I have no idea how to implement a radio button to control the x,y,z rotation axis.
Also since creating this as a microscript I've lost the abitlity to undo after running the script. It was fine when it was just a standard script, I could undo the keyframes applied but now it doesn't. Is this something to do with it being a microscript?
This is what I have so far and thank you for your help.