There are multiple ways to assign statuses to characters:
- Use an Osiris script. The call ApplyStatus can apply statuses to characters, see https://docs.larian.game/Osiris/API/ApplyStatus.
- Use the character script "GLO_SetStatusOnInit". Select the character in the editor, in the sidebar look for the section "Character" which contains the property "Scripts". In the window that opens you can assign the script from the section "Available" by double clicking it. Can also be applied to root templates, but you should avoid modding the root templates of the main game.
- Use the item script "PUZZLE_StatusApplier". Works like the one above but you do not apply it on a character but on an item. Best example for this one are campfires that apply the status "WARM" to all characters around them.