Here's yet another topic whose appropriate subforum is unclear, since this topic is about playing the official campaigns, playing user-made modules, scripting, and mistakes in building.
Sometimes I might be playing a module and find that a chest or another usable object does nothing when I click on it, and I know that it's supposed to. I, and many other modders here, know that this is the result of a placeable having 0 hit points, usually caused by converting an environmental object into a placeable. Most non-modding players probably would not know this.
In the past, if I've wanted to find out what was in that chest or fire whatever script was supposed to fire when clicking on the object, I've gone into the toolset to see, and add HP to the object, but had to revert to an older save if I had one, since changes in placed objects don't take effect in a saved game if you've visited the area. Quite a bother.
I recently wrote a script to add hit points to an object while playing the game, by selecting it and running the script. I had to try a lot of methods, but ultimately it works as intended -- the objects become able to fire their scripts, open their inventories, or whatever they were supposed to do. Would others find this useful?





Retour en haut






