View Single Post
04/07/18, 03:36 PM   #1
Cardinal05
AddOn Author - Click to view addons
Join Date: Feb 2018
Posts: 33
[outdated] HousingEditorRequestCollectiblePlacement halts the game's process

When using the Housing API's function HousingEditorRequestCollectiblePlacement, the game's process will halt every time.

Video of issue reproduction:
https://www.youtube.com/watch?v=PJez...ature=youtu.be

Steps to reproduce the issue:

1. Place a Collectible furnishing in the house.

2. Pick up the Collectible in Editor mode.

3. While holding the Collectible, run the following Console script:

Code:
/script fID = HousingEditorGetSelectedFurnitureId() cID = GetCollectibleIdFromFurnitureId( fID ) cX, cY, cZ = HousingEditorGetFurnitureWorldPosition( fID ) HousingEditorRequestRemoveFurniture( fID ) d( cID, cX, cY, cZ )
4. Then run the following Console script to attempt to place the same Collectible back into the home at the same position:

Code:
/script HousingEditorRequestCollectiblePlacement( cID, cX, cY, cZ, 0, 0, 0 )
5. Note that the process will Halt immediately.

If this could be addressed, it would open up a host of possibilities for my Cut & Paste / Advanced Editing add-ons. And, as always, your help is greatly appreciated!