I cant seem to figure this out
How would you write a simple md script so that way when a station in a sector is destroyed it will activate a job
Md script help
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
Re: Md script help
It seems that your post here and also this are related to your problem. I'm afraid that without more details on the attempts you've done already there is too little information to help you further.
However, triggering, for example, a patrol or protect area on a particular station destruction is not difficult to code. But this may not be what you have in mind.
Cheers Euclid
However, triggering, for example, a patrol or protect area on a particular station destruction is not difficult to code. But this may not be what you have in mind.
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
Re: Md script help
Not sure if you mean a specific station or specific sector or just a specific type of station/sector or any sector/station, etc.
I recommend to check out the code of the chillexplosions mod. That one really clicked for me.
When something gets destroyed the game doesn't send a signal like in X3 anymore. Your md script needs to track every object in a 'group'. Its not possible to use the destroyed object event without providing a specific object or group of objects
I recommend to check out the code of the chillexplosions mod. That one really clicked for me.
When something gets destroyed the game doesn't send a signal like in X3 anymore. Your md script needs to track every object in a 'group'. Its not possible to use the destroyed object event without providing a specific object or group of objects