In my BHC mod, I define a few permanent places and add them to the places table. Works very well. I can refer to them in quests just fine.
I now stumbled upon the problem that these are just exteriors - but I also need to check if the player has entered the interior of these exteriors.
For example,
Code: Select all
protected static string[] placesTable =
{
"StrongholdWoodsly, 0x28c1, 1, -1",
};
Code: Select all
questMachine.PlacesTable.AddIntoTable(placesTable);
I use it then in quests like this:
Code: Select all
Place _StrongholdExt_ permanent StrongholdWoodsly
pc at _StrongholdExt_ set _AtStrongholdExt_
But how do I reference the dungeon interior which is loaded when entering the dungeon of that location?
Can I define interiors in the same way as permanent and then just refer to them? (Like, I dump the interior data to get that ID, convert it to Hex and add it to the places Table)?