Hi,
I'm working on a little mod (with almost zero xml knowledge, this is a challenge). In this mod, i'll like the navigation window to show up (where you can select a destination an click 'plotcourse');
I figured out how to create a new menu entry, but sadly the window will not pop up when i click any of the menu options (galaxy, sectors,...)
I'm trying to avoid unwanted interferences, so i added my own menu.
Any hint would be appreciated;
Thanks
Navigation menu help
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 8
- Joined: Fri, 27. Feb 09, 08:32
-
- Posts: 8
- Joined: Fri, 27. Feb 09, 08:32
-
- Moderator (Script&Mod)
- Posts: 14571
- Joined: Sun, 20. Nov 05, 22:45
<start_script> is in the case you want to spawn an independent instance of a script and run it on an object, but you wont get a return value this way
<run_script> interrupts the current scrimt, executes the given script and continues when its finisched with the return value.
both can have parameters passed with this method
<start|run_script ......>
.<parameter name="X" value="Y"/>
.<parameter ......
............/>
</start|run_script>
<run_script> interrupts the current scrimt, executes the given script and continues when its finisched with the return value.
both can have parameters passed with this method
<start|run_script ......>
.<parameter name="X" value="Y"/>
.<parameter ......
............/>
</start|run_script>
if not stated otherwise everything i post is licensed under WTFPL
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help

-
- Posts: 8
- Joined: Fri, 27. Feb 09, 08:32
-
- Moderator (Script&Mod)
- Posts: 14571
- Joined: Sun, 20. Nov 05, 22:45
scripts can not be run on objects themselves, only on entities like Pilots, Managers, Yisha and the Bordcomputer.
if not stated otherwise everything i post is licensed under WTFPL
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter
I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help
