Corpsehatch Posted July 5, 2013 Share Posted July 5, 2013 I'm working on a small mod but am currently stumped on how to do one thing. Is there a way to have the weapon removed from the player's inventory when the enemy is hit? Not just disarmed, but completely removed. It's one of features of the mod so any help is appreciated. Link to comment Share on other sites More sharing options...
IsharaMeradin Posted July 5, 2013 Share Posted July 5, 2013 You could check into the following:Dynamically attaching scripts to an enemy actorThen on the script being applied to the enemy actor use the OnHit event to force the player's weapon to drop to the ground with the DropObject function. You will probably need to use GetEquippedWeapon function to ensure that you have the correct object drop from the player's inventory. Link to comment Share on other sites More sharing options...
Recommended Posts