Configure drops for when a station module is destroyed?

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

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

h2o.Ava
Posts: 349
Joined: Sun, 12. Oct 08, 04:04
x4

Configure drops for when a station module is destroyed?

Post by h2o.Ava »

Is it possible to configure drops for when a station module is destroyed? Such as, if a storage container is destroyed, then it'd drop some of the stations storage items that match the container type?

if not simply adding the droplist to the module's macro, then maybe via event_object_destroyed which takes a list and the list gets updated whenever a station with the module gets built. what about when the module gets rebuilt, does it need to be readded to the list?

Return to “X4: Foundations - Scripts and Modding”