I can help with some of these:
- Despawning or deleting items : I've been trying to optimize the mod as much as possible but i can't find a way to delete created objects from a level.
The Osiris command ItemRemove should delete items.
Disabling Combat initiation : I needed to diable the combat initiation in some parts of the mod, at least the part where the character pulls out its weapon and the turn display pops up.
Is it just the overlay and the drawing of weapons you're trying to block, or the entire initiation of combat (with objects shifting from the PEACE to the COMBAT state, and the initiative order stance)?
If it's the latter, you can simply disable CanJoinCombat on these objects. This can be done in the sidebar
Alternatively, if you need to change this at runtime, you can use the Osiris call: https://docs.larian.game/Osiris/API/SetCanJoinCombat
. Even if you're not doing it dynamically, the notes on that page are a useful read to understand the difference between CanJoinCombat and CanFight.
Doing the former will be harder. I don't think you can start the initiative order and have the entire combat setup occur without the popup and the weapons being drawn.
Replicating the sitting animations tied to an object : I wanted to replicate the boat scene in the tutorial, and i've figured that the boat has some nodes for the dummies to attach to on it's rig, but couldn't find the way it was done on behavior script.
The game's scripting, behaviour script or Story, doesn't interact with dummies or rigs. For a character to sit on an item, you need the sitting use action
and dummies in the rig. That should be sufficient for most cases.
The tutorial escape boat is a special case in that clicking on the boat needs to start a dialogue, so instead, the item on which the characters are 'sitting' is the boat's suspension
Creating custom AI hints : I tried to create a new AI hint template that i need to create via story, and it gives me an error and creates a new point trigger instead with no name.
This is not something normally done via Story. How are you trying to do this?