Quantcast
Channel: Modding — Beamdog Forums
Viewing all articles
Browse latest Browse all 11774

Quickly unequip/reequip basic equipment?

$
0
0
I'm putting some people to sleep, at an inn, and it looks awfully uncomfortable when they stretch out in full plate, a winged helmet and clutching two long swords. An adventurer's instinct, maybe, or just spasmed hand flexors, but it's dangerous to room service. Can I script NPC to take off their basic equipment and then, once they wake up, put it on again? How about FillSlot() for this? Doesn't guarantee the chosen items will be the same as the optimal exploring setup, but how many weapons and suits of armor do we carry around at once, really. The only hassle may be with double-wielders. If I use FillSlot() to search for something for the offhand slot, the game is going to stick the first thing suitable in there, even a shield or a dagger. And those who use two-handed weapons will have their big swords and bows taken off. It may be better to somehow just unselect weapons so they don't show but stay held. How do I do that?

Viewing all articles
Browse latest Browse all 11774

Latest Images

Trending Articles



Latest Images