The script also manages the environmental "lockdown" mechanics. This includes:
object oPC = GetPCSpeaker(); // Remove prison effect effect eRemove = EffectParalyze(); RemoveEffect(oPC, eRemove); // Return items from confiscation chest object oChest = GetObjectByTag("confiscation_chest"); object oItem = GetFirstItemInInventory(oChest); while (GetIsObjectValid(oItem))
Use TLK entries with placeholders. In your script, combine IntToString with GetStringByStrRef :