AtomicTorch Studio Forums

VoidExpanse => Help section => Topic started by: loudent on April 24, 2015, 12:34:35 AM

Title: Can we get an event for when a ship is "created"
Post by: loudent 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.
Title: Re: Can we get an event for when a ship is "created"
Post by: ai_enabled 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!
Title: Re: Can we get an event for when a ship is "created"
Post by: loudent on April 24, 2015, 09:01:31 AM
Quote from: ai_enabled 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!

That is actually an interesting idea.