shavkacagarikia Posted May 24, 2018 Share Posted May 24, 2018 None wouldnt cause crash with standard papyrus, but as its f4se function there maybe is no null check natively and it causes crash. Maybe you test to make sure which part causes ctd, getweight or just creating instancedata Link to comment Share on other sites More sharing options...
Hoamaii Posted May 24, 2018 Author Share Posted May 24, 2018 Ah, you may be right. Just creating the InstanceData didn't crash the game first time I tried if I remember correctly, so it must be the GetWeight(Owner akOwner) funcion. Link to comment Share on other sites More sharing options...
erlinajabagat Posted August 31, 2019 Share Posted August 31, 2019 I've tried something similar with the instancedata, but instead of getweight () use getarmorrating () for some armors.when using this likeInstanceData:Owner thisInstance = Game.GetPlayer().GetInstanceOwner(xx) with xx in the range from 00 to 30 I get only very seldom the correct result, instead mostly get armorrating = 0 (for all slots) When i make a objectreference for my armor and use the version with the objectreference as the owner I've got always the expected result.I do not know, for me that behaviour looks like a Fallout 4 bug. Link to comment Share on other sites More sharing options...
Recommended Posts