I don't have the editor handy, and I haven't used it in over two years, but your line of thinking is correct. Try assigning a numerical variable to the "castle" property of the castle itself. And do the same with repeating events.
I tried, but unfortunately, it didn't work.