Spawn and rotation

Hello. I have 1 actor of 32x32. I want when begin the scene to spawn 3 same actors with randomly in 0 degrees rotation or 90 degrees rotation, and the degree they are to be constarined in an attribute named ROT. Can anyone help?
Thank you
Thank you
Comments
At the begining you your actor you would have a change attribute behavior
Change attribute self.rotationselect to Random(1,2)
Then a rule
If self.rotationselect = 1
--Change self.rotation to 90
Otherwise
--Change self.rotation to 0