Also, concept I'm working on for this jumpdrive idea, but I'm not sure how to implement: Is there a way to script in something like the COMMs menu, with a series of nested menus? Ideally for the hyperdrive I would have a series of menus once the helmsman activated the navicomputer (by pressing a hotkey). The menus would go Region-Sector-System-Planet, so as not to have too many options on the screen. So, for example, to get to Yavin 4, you would select Outer Rim-Gordian Reach-Yavin System-Yavin Prime. Then a table is referenced to get a calculation time for the navicomputer. Once that timer is done, Helm gets a message saying the Hyperdrive is ready, and a keypress activates the jump procedure. The script destroys everything on screen and generates the new system, as well as moving the player's ship to a default location on the screen.
Obviously this will require creating events that generate maps for every possible location, but the real trick is the menu
As far as I can tell, there is no way of nesting events. Ideally there would be the one Hyperdrive event that would start with the hotkey. Then it would prompt for a selection at each level and wait for the user input, then bring up the appropriate sub-menu, and repeat.
If I understand correctly, I have to use variables to flag which menus have been displayed and then create events with the proper conditions.
Is there a better way to do this than the method I've described?
Thanks
Edit: I just realized that calculating the timer length for jumps between Regions or Sectors would require separate events for each possible combination.
[Last edited Feb 12, 2013 22:50:14]