Author Topic: Can we get an event for when a ship is "created"  (Read 1394 times)

loudent

  • Full Member
  • ***
  • Posts: 141
    • View Profile
Can we get an event for when a ship is "created"
« on: April 24, 2015, 12:34:35 am »
Not sure how the code works but I'm looking for an event when a ship is "Created". For Example, when it exits a station or is created in the first place.

I'd like a way to add cargo to freighters and miners so they're not flying around with nothing in the cargo.

ai_enabled

  • AtomicTorch Founder
  • Hero Member
  • *****
  • Posts: 1285
    • View Profile
Re: Can we get an event for when a ship is "created"
« Reply #1 on: April 24, 2015, 01:48:32 am »
Currently there are no such event. We could add it in the future versions.
You can workaround it by spawning some cargo when you see that there are no cargo in the NPCs inventory.
Regards!

loudent

  • Full Member
  • ***
  • Posts: 141
    • View Profile
Re: Can we get an event for when a ship is "created"
« Reply #2 on: April 24, 2015, 09:01:31 am »
Currently there are no such event. We could add it in the future versions.
You can workaround it by spawning some cargo when you see that there are no cargo in the NPCs inventory.
Regards!

That is actually an interesting idea.