Page MenuHomeFeedback Tracker

Spawn items rotated in cargo
Feedback, NormalPublic

Description

A lot of mods use the CreateEntityInCargo and CreateInInventory methods, which both can spawn items inside the Cargo of other items. CreateInInventory uses the FindFirstFreeLocationForNewEntity method to find a suitable location

Some mods have either large items like weapons, which are wider than 10 slots or the player would have space for the item, but only if it was rotated.

So please add another check if the item might fit into the cargo if it was flipped and then spawn it. There is currently not really a good way of doing these checks manually in the script, without reimplementing the whole search algorithm to find a free spot

Details

Severity
Feature
Resolution
Open
Reproducibility
Always
Operating System
Windows 7
Category
General

Event Timeline

LBmaster created this task.Mon, Apr 14, 2:37 PM
Geez changed the task status from New to Feedback.Mon, Apr 14, 2:42 PM

when using the FindFreeLocationFor method from the GameInventory, I get a valid location back, which also checks for flipped items, but I would like to avoid spawning the item to use this method