Silence "One of your ships is under attack" audio warning

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

Post Reply
zanzal
Posts: 309
Joined: Sat, 15. Sep 12, 07:42
x3tc

Post by zanzal » Sat, 22. Nov 14, 05:34

IDK if this is helpful to your question about the order of setup.* scripts, but they are generally written such that order is unimportant. Often each mod will only have one setup script that will handle all the setup for that mod, so order of execution isn't ever a concern.

Should you need to make sure that something is done after all the setups have been called, you might start a new task from within your setup script.

setup.my.important.stuff:

Code: Select all

START $null -> call script 'my.after.setup.script': param='whatever'
my.after.setup.script:

Code: Select all

=wait 10000 ms
... do important after setup stuff ...

Post Reply

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”