Jobs xml questions

The place to discuss scripting and game modifications for X4: Foundations.

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

Post Reply
00NightHunter00
Posts: 14
Joined: Wed, 8. Apr 20, 21:08
x4

Jobs xml questions

Post by 00NightHunter00 » Fri, 9. Feb 24, 22:36

Question about jobs xml if i set a job as startactive false it just means it wont spawn in the beginning of the game?

And second question when i choose location i know you can set it to where it will look for certain stations to spawn at if they are there but my question is if i set it to spawn near a particular station does that mean it will only do the job in that sector or will they spread out

Or is there a way to make a job not spawn or start untill a certain station like a defence station is built in a sector?

Dr Reed
Posts: 76
Joined: Fri, 30. Nov 18, 00:05
x4

Re: Jobs xml questions

Post by Dr Reed » Thu, 15. Feb 24, 18:09

When you set a job as startactive false you can then start the job with the following after you have set the conditions for it to spawn.

Code: Select all

<set_job_active job="'my_new_job_name'" />
be aware though the job will just spawn in instead of being built from a shipyard.

Post Reply

Return to “X4: Foundations - Scripts and Modding”