All relevent code is in the file "pcturrents", it's sort of a mess because I've been fussing with it trying to get it to work.
edit: Link to thread about resource loading. The turrets work fine if the player sprite is already on the layout, but I need to spawn it dynamically because the player will be able to choose from various ships.
POC, the turrets will work when called later on. If you start the game with F4 choose campaign, swipe to move over the moon, click the commlink, then choose plunder planet, I stuck a call to it there, and it works fine. For some reason, no matter what I do, I can't insert code to run right after the object is created. Help!