FindFirstFreeLocationForNewEntity doesnt check rotated sizes for objects.
Description
Description
Details
Details
- Severity
- Trivial
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Windows 11 x64
- Category
- General
Steps To Reproduce
inherit and change sizes of an armband to 1,4 and 4,1
wear a backpack with 4,4 cargo space, two rags to block irrelevant slots, pick up an apple to block hands, one apple in inventory to check what axis you're testing and wear another armband.
when you CreateInInventory, it doesnt rotate the object if space is available. only default orientation is used.
can verify space is available with the other inherited version, and it's reproducible with both axis.
can check by moving the apple.
Event Timeline
Comment Actions
config.cpp edit used
class CfgVehicles { class Armband_Black; class Armband_test_4_1 : Armband_Black { storageCategory = 1; itemSize[] = {4,1}; }; class Armband_test_1_4 : Armband_Black { storageCategory = 1; itemSize[] = {1,4}; }; };