Accessing script object for escape pod crew

An area for discussing new ideas and additions to Oolite.

Moderators: winston, another_commander

Post Reply
User avatar
phkb
Impressively Grand Sub-Admiral
Impressively Grand Sub-Admiral
Posts: 4830
Joined: Tue Jan 21, 2014 10:37 pm
Location: Writing more OXPs, because the world needs more OXPs.

Accessing script object for escape pod crew

Post by phkb »

I'm not sure if I've missed something somewhere, but is it possible to access the script object of the crew property of an escape pod? In particular, I'm looking to see if there is (a) a script attached, (b) see if there is an unloadCharacter event function, and (c) add an unloadCharacter function programmatically.
User avatar
montana05
---- E L I T E ----
---- E L I T E ----
Posts: 1166
Joined: Mon May 30, 2016 3:54 am
Location: lurking in The Devils Triangle (G1)

Re: Accessing script object for escape pod crew

Post by montana05 »

Some time ago I tried to modify the escape pod concept of Galactic Navy to offer more choices. The idea was that depending on the crew and the destination various events could be triggered, like stay in the ship, enter the station and get a hot welcome from your enemies, ...

Needless to say after some experiments I abandoned the idea again, it never worked out. Would be great if you are successful were I failed.
Scars remind us where we've been. They don't have to dictate where we're going.
Post Reply