Jump to content

Andargor

Dev Kit: How to get the structures on a ship

Recommended Posts

By getting a Ship_BP_Base_PlayerOwned reference, I can get the steering wheel (GetAttachedMiscCriticalStructures) and sails (GetAttachedSails), but I can't seem to find the built structures, such as walls, ceilings, etc.

Any hints on how to get those?

 

Share this post


Link to post
Share on other sites

I think I've found it, in case anyone was looking for the info: you can GetAttachedActors, and then cast to StructureBase. If it succeeds, it's a structure built on the ship (not planks, etc.)

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...