<?xml version="1.0" encoding="utf-8"?>
<mdscript name="Setup_Apoc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="md.xsd">
<cues>
<cue name="xenpo_defence_cluster_01_sector001Destruction" checktime="10s" onfail="cancel">
<conditions>
<event_object_destroyed godstationentry="'xenpo_defence_cluster_01_sector001'" space="player.galaxy" />
</conditions>
<delay min="if player.debug then 1min else 1min" />
<actions>
<set_job_active activate="true" job="'terran_carrier_defence_xl_test'"/>
</actions>
</cue>
</cues>
</mdscript>
so this is the file im trying to figure out how to get it to work how i want what i want is when a xenon station is destroyed in a certain sector it activates a job what am i doing wrong first time im trying to build md files its prob a easy fix any help is appeciated
need help with a md file
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
Re: need help with a md file
Hmm ... are you sure you want to trigger the job only for that specific Xenon station?
I'd use event_object_destroyed and then several conditions within a check_all, like event_object.owner, event.object.sector etc.. But maybe I've missed your point
Cheers Euclid
I'd use event_object_destroyed and then several conditions within a check_all, like event_object.owner, event.object.sector etc.. But maybe I've missed your point
Cheers Euclid
"In any special doctrine of nature there can be only as much proper science as there is mathematics therein.”
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786
-
- Posts: 14
- Joined: Wed, 8. Apr 20, 21:08
Re: need help with a md file
Thank you for the reply first off second off im not sure i want it to activate certain jobs if the station is destroyed kinda like the idea of taking back the galaxy when one station is destroyed some faction jobs are unlocked and begin being built to help bring back the galaxy im open to any ideas that would work well with this in mindeuclid wrote: ↑Fri, 16. Feb 24, 18:18Hmm ... are you sure you want to trigger the job only for that specific Xenon station?
I'd use event_object_destroyed and then several conditions within a check_all, like event_object.owner, event.object.sector etc.. But maybe I've missed your point
Cheers Euclid