Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Added ability to customise what happens to an actor when its owner loses. #14982
Wanted to hit two bird with one stone, this fixes the issues with the Aircraft Husks (#14858, #14849, #14902), also adds support for #4706, but not implements in this PR for now. I guess it may need furter discussion and to not block this PR as i think husk issues are a bit more important.
The fix for Aircraft Husks are in second commit. I wasn't sure what to do with vehicle husks, current implementation doesn't break anything from them, afaik.
Testcase commit is for testing other 2 things you can make actors to do, change their owner, or get disposed. Testcase makes Tech Structures turn back to neutral and Demo Truck get disposed/not explode.