Before I explain, let me preface the fact that I know sub zero about scripting. Everything within the 'spoiler' was ripped right from the creation kit website.
Okay, I'm creating a teleport orb in which if you press E on it, it brings up an options menu asking you to select either cities or towns. If you select cities, it shows all the cities. Towns, the towns. Then if you click on one of those, it will teleport you to the appropriate location. I found something on the creation kit website about sub-menus', which this is, but I don't understand one line of it. Plus, it isn't finished.
I would greatly appreciate it if somebody would write/finish this script for me and tell me what to do step by step. For the destinations I'd probably want to use XMarkers', right?
Here's the script from the website:
(Note, this is a repost on here because nobody on the Nexus was willing to help me. Thought I'd try here!)
(Also, I apologise for the terrible indenting. The spoiler thing automatically does that. )