Woah... Way to many syntax errors.
<LANGUAGE>
<RESOURCES>
</RESOURCES>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">"The Castle"</Entry>
</CATEGORY>
<CATEGORY Name="Inventory">
<Entry Name="ItemName_TowerKey">Tower Key</Entry>
<Entry Name="ItemDesc_TowerKey">Looks like the key for the near by Tower</Entry>
</CATEGORY>
</LANGUAGE>
void OnStart()
{
AddUseItemCallback("", "TowerKey_1", "castle_arched01_3", "UsedKeyOnDoor", true);
}
void UsedKeyOnDoor(string &in asItem, string &in asEntity)
{
SetSwingDoorLocked("castle_arched01_3", false, true);
PlaySoundAtEntity("", "unlock_door.snt", "castle_arched01_3", 0, false);
RemoveItem("TowerKey_1");
}
void OnEnter()
{
}
void OnLeave()
{
}
And is "castle_arched01_3" really the name of the door? (That's what you actually named it) Or is it by default? (If it's by default, that is most likely an archway instead of a door)